Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mvila/reserved-usernames
List of reserved usernames to prevent URL collision with resource paths
https://github.com/mvila/reserved-usernames
Last synced: 21 days ago
JSON representation
List of reserved usernames to prevent URL collision with resource paths
- Host: GitHub
- URL: https://github.com/mvila/reserved-usernames
- Owner: mvila
- Created: 2016-02-17T06:26:46.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2019-03-16T01:37:03.000Z (over 5 years ago)
- Last Synced: 2024-10-20T00:29:13.274Z (29 days ago)
- Language: JavaScript
- Size: 14.6 KB
- Stars: 31
- Watchers: 1
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# reserved-usernames [![npm version](https://img.shields.io/npm/v/reserved-usernames.svg)](https://www.npmjs.com/package/reserved-usernames)
List of reserved usernames to prevent URL collision with resource paths.
Credit: [shouldbee/reserved-usernames](https://github.com/shouldbee/reserved-usernames).
## Installation
```
npm install --save reserved-usernames
```## Example
```javascript
var usernames = require('reserved-usernames');console.log(usernames.indexOf('admin') !== -1); // => true
```## License
MIT