Socket
Socket
Sign inDemoInstall

express-humans

Package Overview
Dependencies
86
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    express-humans

Express middleware for generating/responding a humans.txt file.


Version published
Maintainers
1
Created

Changelog

Source

1.0.1 (Aug. 13th 2017)

Minor fixes :

  • Travis-CI package build
  • Usage & API in README.md
  • Stability shield in README.md

Readme

Source

express-humans

stability-stable

npm version Known Vulnerabilities dependency status devdependency status build status downloads

NPM

Express middleware for generating a humans.txt or responding with an existing file.

Usage

First run npm install express-humans, then :

const humans = require('express-humans');
const express = require('express');

const app = express();

app.use(humans({
  team: [
    {
      'Original developer': 'Hayden Bleasel',
      Twitter: '@haydenbleasel'
    }, {
      Maintainer: 'Alexis Paques',
      Github: '@AlexisTM'
    }
  ],
  thanks: [
    'Node',
    'Gulp'
  ],
  site: {
    'Standards': 'HTML5, CSS3',
    'Components': 'jQuery, Normalize.css',
    'Softwares': 'Atom, SublimeText'
  },
  note: 'Built with love by Hayden Bleasel.'
}));

app.listen(3000);

or :

// Using the path of the humans.rxr file
app.use(humans('./humans.txt'));

API

humans(options)

Development

npm run build # Or "yarn run build"
npm test # Or "yarn test"

Credits

Inspired of express-robots.

Keywords

FAQs

Last updated on 26 Aug 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc