@govtechsg/address-identity-resolver
v1.5.0
Published
## Install
Downloads
466
Keywords
Readme
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 testsnpm run lint
: to run lintnpm run build
: to build packagenpm run semantic-release
: to release new version of package