Introduction to Pure Gen
info
These are the docs for the latest version (>=2.x) of Pure Gen. If you are still using an older version, please upgrade it.
Installation​
Use npm to install the Pure Gen in your Node.js project. See system requirements.
npm i --save pure-gen
This command will save Pure Gen to your package.json
and it will be available to use right after.
Setup​
Once you have installed Pure Gen, you can import it in your test file.
const pure = require('pure-gen')
After importing it, you can use it by simple calling an method that you want.
pure.random.number()
System Requirements​
You’ll need Node.js installed.
- Install at least v10 or higher
- Only releases that are LTS are officially supported
If you don't have Node installed, you can use NVM to assist managing multiple active Node.js versions.