users-management
v1.2.3
Published
a simple management for users
Downloads
3
Readme
manage-users
installation
npm install users-management
Usage
By popular demand, users-management
!
var users = require('users-management');
users.addUser("pippo", "franco") // create one users
console.log(users.deleteUser(1)); // delete an user by id
console.log(users.getUserByID(1)); // return the user with the corrispondent ID
console.log(users.filteredByName("pippo")); // search user by name
console.lgo(users.getUsers()); //return the number of users
users.reset(); // reset the users