express-legal

1.3.2 • Public • Published

express-legal

Express app that serves TOS and Privacy Policy

Install

npm install --save express-legal

Usage

const express = require('express')
const legal = require('express-legal')
const app = express()
 
app.use('/', legal({
  companyName: 'Acme Inc.',
  domain: 'example.com',
  lastModified: 'July 23rd, 2016',
  contactUrl: '/contact-us',
  email: 'hello@example.com'
}))

Your app will now serve the following routes:

  • /privacy-policy
  • /terms-of-service

/express-legal/

    Package Sidebar

    Install

    npm i express-legal

    Weekly Downloads

    7

    Version

    1.3.2

    License

    MIT

    Unpacked Size

    32.7 kB

    Total Files

    8

    Last publish

    Collaborators

    • will123195