https://github.com/redhataccess/rh-node-utils
https://github.com/redhataccess/rh-node-utils
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/redhataccess/rh-node-utils
- Owner: redhataccess
- License: mit
- Created: 2014-10-21T15:30:01.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2017-05-02T20:21:18.000Z (about 9 years ago)
- Last Synced: 2025-03-03T14:17:44.729Z (over 1 year ago)
- Language: JavaScript
- Size: 61.5 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
rh-node-utils
================
[](https://nodei.co/npm/rh-node-utils/)
Install the module with:
```bash
npm install rh-node-utils --save
```
Example usage:
```javascript
var express = require('express');
var utils = require('rh-node-utils');
var app = express();
var env = process.env.NODE_ENV || 'development';
if ('production' === env) {
app.use(utils.guard());
}
```