@govtechsg/address-identity-resolver
TypeScript icon, indicating that this package has built-in type declarations

1.5.0 • Public • Published

Address Identity Resolver For TradeTrust

Install

npm i --save @govtechsg/address-identity-resolver

Hooks

useAddressBook

const { addressBook ,setAddressBook, handleLocalAddressBookCsv, getIdentifier } = useAddressBook();

useThirdPartyAPIEndpoints

const {
  thirdPartyAPIEndpoints, 
  setThirdPartyAPIEndpoints, 
  addThirdPartyAPIEndpoint, 
  removeThirdPartyAPIEndpoint 
  } = useThirdPartyAPIEndpoints();

useIdentifierResolver

const { resolvedIdentifier, identifierSource } = useIdentifierResolver();

Sample usage

Features

  • React - A JavaScript library for building user interfaces.
  • Webpack - Component bundler.
  • React testing library - Simple and complete testing utilities that encourage good testing practices.
  • Jest - JavaScript testing framework used by Facebook.
  • ESLint - Make sure you are writing a quality code.
  • Prettier - Enforces a consistent style by parsing your code and re-printing it.
  • Typescript - JavaScript superset, providing optional static typing
  • Github Actions - Automate tests and linting for every push or pull request.
  • Semantic Release - Fully automated version management and package publishing.
  • Debug - JS debugging utility that works both in node.js and browsers.

Development

  • npm run test: to run tests
  • npm run lint: to run lint
  • npm run build: to build package
  • npm run semantic-release: to release new version of package

Readme

Keywords

none

Package Sidebar

Install

npm i @govtechsg/address-identity-resolver

Weekly Downloads

31

Version

1.5.0

License

Apache-2.0

Unpacked Size

2.14 MB

Total Files

98

Last publish

Collaborators

  • kenneth_leong_gt
  • govtechsg_a11y
  • younglim
  • gtrgchua
  • isomer.govtech
  • gyunikuchan
  • gds_ace_dlt
  • gdsbot
  • gylsky
  • ryanoolala
  • dyihoon90