Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nodebb-plugin-restrict-usernames

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nodebb-plugin-restrict-usernames - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

restrict-usernames-screenshot.png

6

package.json
{
"name": "nodebb-plugin-restrict-usernames",
"version": "0.5.0",
"description": "A starter kit for quickly creating NodeBB plugins",
"version": "0.5.1",
"description": "Set rules for what usernames are allowed on your forum",
"main": "library.js",

@@ -14,3 +14,3 @@ "repository": {

"restrict-usernames",
"shell"
"moderation"
],

@@ -17,0 +17,0 @@ "husky": {

# Username Restriction Plugin for NodeBB
A starter kit for quickly creating NodeBB plugins. Comes with a pre-setup LESS file, server side JS script with an `action:app.load` hook, and a client-side script. Most plugins need at least one of the above, so this ought to save you some time. For a full list of hooks have a look at our [wiki page](https://github.com/NodeBB/NodeBB/wiki/Hooks), and for more information about creating plugins please visit our [documentation portal](https://docs.nodebb.org/).
Set rules for what usernames are allowed on your forum
Fork this or copy it, and using your favourite text editor find and replace all instances of `nodebb-plugin-restrict-usernames` with `nodebb-plugin-your-plugins-name`. Change the author's name in the LICENSE and package.json files.
## Hello World
Really simple, just edit `static/lib/main.js` and paste in `console.log('hello world');`, and that's it!
## Installation
npm install nodebb-plugin-restrict-usernames
Install via ACP or by running either
(NodeBB>2.7.0)
```bash
./nodebb install nodebb-plugin-restrict-usernames
```
or (all supported NodeBB version)
```bash
npm install nodebb-plugin-restrict-usernames
```
## Screenshots
Don't forget to add screenshots!
## screenshot
![ACP screenshot](./restrict-usernames-screenshot.png)

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc