tos
v1.1.2
Published
Terms of Service and Privacy Policy Generator
Downloads
22
Maintainers
Readme
ToS
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.
Install
$ npm install --global tos # <= CLI installation
$ npm install --save tos # <= module installation
CLI Usage
$ 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
Module Usage
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
}
);
License
ISC © Buster Collings