New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

express-restriction

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-restriction

Add API restriction to your Express app like Google.

1.0.0
latest
Source
npm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

Express Restriction

npm version npm downloads Commitizen friendly semantic-release Build Status Coverage Status license

Secure your APIs like Google

Table of Contents

How It Works?

Google offers a security layer for their APIs, for an example, you can restrict all HTTP requests over your API except a selected Android App. This project aims to make the same thing in Express.JS.

READ MORE: https://developers.google.com/maps/api-security-best-practices

Installation

npm install express-restriction --save

Documentation

Documentation is automatically created with JSDoc after each new release.

You can find the documentation here!

Development

# clone the repository
git clone https://github.com/ridvanaltun/express-restriction.git

# go to the project and install dependencies
cd express-restriction & npm i

Available Scripts

# commit your changes with commitizen
npm run commit

# check eslint issues
npm run lint

# fix eslint issues
npm run lint:fix

# run eslint-nibble
npm run lint:active

# run all tests
npm run test

# travis uses this script, it handles creating new releases
npm run semantic-release

# travis uses this script, it creates documentation with jsdoc
npm run docs

License

MIT

Keywords

express

FAQs

Package last updated on 23 Sep 2021

Did you know?

Socket

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