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

@nodebb/nodebb-plugin-import-users-csv

Package Overview
Dependencies
Maintainers
0
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nodebb/nodebb-plugin-import-users-csv

A starter kit for quickly creating NodeBB plugins

  • 1.2.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

Import Users via CSV

This plugin exposes a new admin page and endpoint for automatically creating users in the NodeBB instance via CSV upload.

Required fields are one of username or firstname (lastname is automatically appended if present), and email.

Additional fields can be present in the CSV file, but are ignored, unless explicitly specified via the admin panel. If an additional field is specified, then it will be saved into the user's hash.

Installation

There is an identically named package not under the @nodebb scope, be sure to install the properly scoped plugin instead:

npm install @nodebb/nodebb-plugin-import-users-csv

Screenshots

A view of the settings page of this plugin

A modal containing a table displaying a list of users successfully imported in

Plugin Hooks

This plugin fires off a single hook when user import has completed. To use it, listen for the action:importUsersCSV.created hook, e.g.

const plugins = require.main.require('./src/plugins');

plugins.hooks.register('myPlugin', {
    hook: 'action:importUsersCSV.created',
    method: ({ uids, users }) => { ... },
});

Keywords

FAQs

Package last updated on 18 Nov 2024

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

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