namazu-ts 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/.prettierignore +4 -0
  2. package/.prettierrc +6 -0
  3. package/README.md +13 -0
  4. package/dist/browser/index.css +793 -0
  5. package/dist/browser/index.js +29829 -0
  6. package/dist/client.d.ts +41 -0
  7. package/dist/index.d.ts +5 -0
  8. package/dist/maputils.d.ts +13 -0
  9. package/dist/node/index.css +788 -0
  10. package/dist/node/index.js +42188 -0
  11. package/dist/sismomap.d.ts +21 -0
  12. package/dist/types.d.ts +197 -0
  13. package/dist/utils.d.ts +4 -0
  14. package/docs/.nojekyll +1 -0
  15. package/docs/assets/hierarchy.js +1 -0
  16. package/docs/assets/highlight.css +71 -0
  17. package/docs/assets/icons.js +18 -0
  18. package/docs/assets/icons.svg +1 -0
  19. package/docs/assets/main.js +60 -0
  20. package/docs/assets/navigation.js +1 -0
  21. package/docs/assets/search.js +1 -0
  22. package/docs/assets/style.css +1633 -0
  23. package/docs/classes/Client.html +31 -0
  24. package/docs/classes/LngLatBounds.html +120 -0
  25. package/docs/classes/SismoMap.html +12 -0
  26. package/docs/functions/EventToEventGeoJSON.html +1 -0
  27. package/docs/functions/createMap.html +6 -0
  28. package/docs/hierarchy.html +1 -0
  29. package/docs/index.html +9 -0
  30. package/docs/modules.html +1 -0
  31. package/docs/types/Answer.html +5 -0
  32. package/docs/types/City.html +7 -0
  33. package/docs/types/CleanedFDSNQueryOptions.html +1 -0
  34. package/docs/types/EventFeature.html +5 -0
  35. package/docs/types/EventGeoJSON.html +3 -0
  36. package/docs/types/EventGeoJSONProperties.html +11 -0
  37. package/docs/types/EventGeojsonDescriptionProperty.html +3 -0
  38. package/docs/types/FDSNQueryOptions.html +29 -0
  39. package/docs/types/Form.html +7 -0
  40. package/docs/types/Magnitude.html +16 -0
  41. package/docs/types/Origin.html +27 -0
  42. package/docs/types/Question.html +12 -0
  43. package/docs/types/QuestionChoice.html +5 -0
  44. package/docs/types/QuestionCondition.html +1 -0
  45. package/docs/types/QuestionGroup.html +3 -0
  46. package/docs/types/SisEvent.html +12 -0
  47. package/docs/types/Street.html +4 -0
  48. package/docs/types/Survey.html +5 -0
  49. package/docs/types/Testimony.html +17 -0
  50. package/docs/variables/eventTypes.html +1 -0
  51. package/docs/variables/mapLayers.html +1 -0
  52. package/package.json +54 -0
  53. package/src/client.ts +552 -0
  54. package/src/index.ts +5 -0
  55. package/src/maputils.ts +116 -0
  56. package/src/sismomap.ts +108 -0
  57. package/src/types.ts +237 -0
  58. package/src/utils.ts +20 -0
  59. package/typedoc.json +1 -0
@@ -0,0 +1,4 @@
1
+ # Ignore artifacts:
2
+ build
3
+ coverage
4
+ dist
package/.prettierrc ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "trailingComma": "es5",
3
+ "tabWidth": 4,
4
+ "semi": true,
5
+ "singleQuote": true
6
+ }
package/README.md ADDED
@@ -0,0 +1,13 @@
1
+ # Namazu-ts
2
+
3
+ To install dependencies:
4
+
5
+ ```bash
6
+ bun install
7
+ ```
8
+
9
+ To build library:
10
+
11
+ ```bash
12
+ bun run build
13
+ ```