Skip to content

geops/mobility-toolbox-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mobility-toolbox-js

Toolbox for JavaScript applications in the domains of mobility and logistics. The tools in this library have been inspired by many projects realized for public transport agencies, mobility providers and logistics companies.

npm Build Lint / Unit tests Vercel

Documentation and examples

Visit https://mobility-toolbox-js.geops.io/

Demos

Install

Install the library and the peer dependencies:

yarn add ol maplibre-gl mobility-toolbox-js

Development

yarn install
yarn dev

yarn dev starts a vite server using the index.html file at the root of the project. This html file loads the dev.js file. Use this file to develop the library. Each time you modifiy the library code you have to run yarn build:tsc to see the changes.

Development documentation

The documentations website is located in the doc/ folder. It's a nextJS website that use the mobility-toolbox-js library built from the build/ folder.

Deploy

This library website is deployed automatically using Vercel. For Vercel we have to add the nextjs and raw-loader modules in the dev dependencies of the main package.json. But those 2 librairies are not needed to build the library.