Installation
crocks
is available from npm
and is just a shell command away. All you need to do is run the following to save it as a dependency in your current project folder:
$ npm install crocks -S
This will pull down crocks
into your project's node_modules
folder and can be accessed by adding something like the following in the file that needs it:
// node require syntax
const crocks = require('crocks')
// JavaScript modules (if you are transpiling)
import crocks from 'crocks'