1.1.7 • Published 1 year ago
fannxt-utilities v1.1.7
Package: fannxt-utilities
Introduction
It is the utility package which contains commonly used functions. These functions are used across all the lambdas. The function improves code reusability.
How to add functions
- Services directory contains API root functions.
- Utils directory contains common utility functions.
- In order to create new utility function check the file name if the function has common usage then use the common file.
- If function belongs to new type such as date functions then create a new file, export and link it inside the index file.
How to publish the package
- Create a new version in package.json
- Use
npm login
to authenticate yourself to publish the package. - Use
npm publish
command to publish the package.