1.0.5 โ€ข Published 10 months ago

montu-test-lib v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

QuickRoute's Address Suggestion API

version min size mingzip size license

dependancies downloads

NPM Publish

//: <> (end placeholder for auto-badger)

Usage ๐Ÿš€

const tomTomProvider = new TomTomProvider({ apiKey: 'your_api_key_here' });
const addressService = new AddressService(tomTomProvider);
addressService.getSuggestions('1600 Amphitheatre', { limit: 5, countryCode: 'AU' })
  .then((suggestions) => console.log(suggestions))
  .catch((error) => console.error(error));

prerequisites ๐Ÿ› ๏ธ

  • Install NodeJs / NPM
# On MacOS, using Homebrew
brew install node@20
brew install npm
npm install --save-dev typescript @types/node tsup vitest axios axios-mock-adapter

Build Locally ๐Ÿ’ป

  • Build ๐Ÿงฑ
npm run build
  • Test ๐Ÿงช
npm test

Publish to NPM repository ๐Ÿ“ฆ

git tag <version>
git push origin --tags
  • Create a release on the repo, github-action should build, test and publish to npm.

References

  1. How to Write a TypeScript Library https://simonboisset.com/blog/create-typescript-library-tsup
1.0.5

10 months ago

1.0.3

10 months ago

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago