https://github.com/busterc/tos
:page_facing_up: Terms of Service and Privacy Policy Generator
https://github.com/busterc/tos
privacy-policy terms-and-conditions terms-of-service tos
Last synced: 2 months ago
JSON representation
:page_facing_up: Terms of Service and Privacy Policy Generator
- Host: GitHub
- URL: https://github.com/busterc/tos
- Owner: busterc
- License: isc
- Created: 2015-10-15T18:41:19.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-08-25T21:43:46.000Z (almost 7 years ago)
- Last Synced: 2025-03-07T00:28:38.033Z (3 months ago)
- Topics: privacy-policy, terms-and-conditions, terms-of-service, tos
- Language: JavaScript
- Homepage:
- Size: 83 KB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ToS [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url]
> Terms of Service and Privacy Policy Generator
The content generated is derived from Ben Nadel's [web-based generator](https://www.bennadel.com/coldfusion/privacy-policy-generator.htm). I appreciate it so much I wanted a CLI and ~~Jade~~ Pug output for it.
## Install
```sh
$ npm install --global tos # <= CLI installation
$ npm install --save tos # <= module installation
```## CLI Usage
```sh
$ tosUsage: tos [options]
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
```js
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](http://about.me/buster)
[npm-image]: https://badge.fury.io/js/tos.svg
[npm-url]: https://npmjs.org/package/tos
[travis-image]: https://travis-ci.org/busterc/tos.svg?branch=master
[travis-url]: https://travis-ci.org/busterc/tos
[daviddm-image]: https://david-dm.org/busterc/tos.svg?theme=shields.io
[daviddm-url]: https://david-dm.org/busterc/tos