Terms of Service and Privacy Policy Generator
The content generated is derived from Ben Nadel's web-based generator. I appreciate it so much I wanted a CLI and Jade Pug output for it.
$ npm install --global tos # <= CLI installation
$ npm install --save tos # <= module installation
$ tos
Usage: tos [options] <company> <state>
Terms of Service and Privacy Policy Generator.
Options:
-h, --html outputs as HTML
$ tos "Yo Company Name, Inc." "Delaware" > tos.pug
$ tos --html "Yo Company Name, Inc." "Delaware" > tos.html
var tos = require('tos');
tos(
{
markup: 'html', // 'markup' is optional, the default output is Pug
company: 'Yo Company Name, Inc.',
state: 'Delaware'
},
function(error, result) {
// do yo thang
}
);
ISC © Buster Collings