minotor 3.0.0 → 3.0.1

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.
package/.cspell.json CHANGED
@@ -28,7 +28,9 @@
28
28
  "Davos",
29
29
  "moleson",
30
30
  "Klosters",
31
- "Engadin"
31
+ "Engadin",
32
+ "isochrone",
33
+ "Delling"
32
34
  ],
33
35
  "flagWords": [],
34
36
  "ignorePaths": [
package/CHANGELOG.md CHANGED
@@ -1,12 +1,6 @@
1
- # [3.0.0](https://github.com/aubryio/minotor/compare/v2.0.1...v3.0.0) (2025-05-27)
1
+ ## [3.0.1](https://github.com/aubryio/minotor/compare/v3.0.0...v3.0.1) (2025-06-03)
2
2
 
3
3
 
4
- ### Performance Improvements
4
+ ### Bug Fixes
5
5
 
6
- * encode times as minutes in uint16 arrays ([#16](https://github.com/aubryio/minotor/issues/16)) ([ec65193](https://github.com/aubryio/minotor/commit/ec65193e5418de80dbc233991271e13eb65470ea))
7
-
8
-
9
- ### BREAKING CHANGES
10
-
11
- * - timetable serialization format upgraded to 0.0.3. Cannot read nor produce older
12
- versions anymore.
6
+ * do not pin point lib version for the repl ([#18](https://github.com/aubryio/minotor/issues/18)) ([2cef9e7](https://github.com/aubryio/minotor/commit/2cef9e7488f09743aba52e2ebb0ae52bead476c6))
package/README.md CHANGED
@@ -13,13 +13,23 @@ Privacy-conscious applications where the user does not want to share their locat
13
13
  The transit router and the stops index of **minotor** can run in the browser, on react-native or in a Node.js environment.
14
14
  Transit data (GTFS) parsing runs on Node.js, and the resulting data is serialized as a protobuf binary that can be loaded from the router.
15
15
 
16
+ Minotor routing algorithm is mostly based on RAPTOR. See [Round-Based Public Transit Routing, D. Delling et al. 2012](https://www.microsoft.com/en-us/research/wp-content/uploads/2012/01/raptor_alenex.pdf).
17
+
16
18
  ## Examples
17
19
 
18
20
  ### In-browser transit router
19
21
 
20
22
  An example client-side transit router running in the browser with a web worker.
21
23
 
22
- [Demo](https://www.minotor.dev/#example-usage) | [Code](https://github.com/aubryio/minotor.dev/tree/main/app/examples/router)
24
+ [Demo](https://www.minotor.dev/#router) | [Code](https://github.com/aubryio/minotor.dev/tree/main/app/examples/planner)
25
+
26
+ ### Isochrone maps
27
+
28
+ An example implementation of dynamic isochrone maps using minotor in the browser.
29
+
30
+ [Demo](https://www.minotor.dev/#isochrones) | [Code](https://github.com/aubryio/minotor.dev/tree/main/app/examples/isochrones)
31
+
32
+ A more complete isochrone map showcase can be found on [isochrone.ch](https://isochrone.ch).
23
33
 
24
34
  ## Features
25
35
 
@@ -32,7 +42,7 @@ An example client-side transit router running in the browser with a web worker.
32
42
 
33
43
  | Feed | Parsing time | Timetable Size for a Day (Compressed) |
34
44
  | ------------------------------------------------------------------------------------------ | ------------ | ------------------------------------- |
35
- | [Swiss GTFS feed](https://data.opentransportdata.swiss/en/dataset/timetable-2025-gtfs2020) | ~2 minutes | 44 MB (9MB) |
45
+ | [Swiss GTFS feed](https://data.opentransportdata.swiss/en/dataset/timetable-2025-gtfs2020) | ~2 minutes | 20 MB (5MB) |
36
46
 
37
47
  ## Get started
38
48
 
@@ -63,7 +73,7 @@ const destinations = stopsIndex.findStopsByName('Moles'); // Partial name search
63
73
 
64
74
  Query stops by ID:
65
75
 
66
- `const stopFromId = stopsIndex.findStopById('8592374:0:A');`
76
+ `const stopFromId = stopsIndex.findStopBySourceId('8592374:0:A');`
67
77
 
68
78
  Or by location:
69
79
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "minotor",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "description": "A lightweight client-side transit routing library.",
5
5
  "keywords": [
6
6
  "minotor",
@@ -109,7 +109,6 @@
109
109
  "kdbush": "^4.0.2",
110
110
  "loglevel": "^1.9.2",
111
111
  "luxon": "^3.5.0",
112
- "minotor": "^1.0.7",
113
112
  "node-stream-zip": "^1.15.0",
114
113
  "slimsearch": "^2.2.1"
115
114
  }