key-creator
key-creator is a mini library to generate secure keys or passwords when developing your apps.
Documentation
key-creator is fully documented. It is rewritten with TypeScript to make the code less error-prone and maintainable.
Example
To install the library from NPM packages write below to the terminal:
npm install key-creator
You can start using library just including it like below:
const key = ;
Here is a example about how to generate a key for your app and use it:
const key = ; { thisid = key; thisname = name; } { console; } user = 'Edward Burke';user;
This example will create an ID field for the user and assign it using the generate
function.
Licence
key-creator is GNU Licensed.