tos

1.1.2 • Public • Published

ToS NPM version Build Status Dependency Status

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

Package Sidebar

Install

npm i tos

Weekly Downloads

3

Version

1.1.2

License

ISC

Unpacked Size

7.47 kB

Total Files

6

Last publish

Collaborators

  • buster