0.0.5 • Published 6 years ago

atomic-id v0.0.5

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

Make a list with your identifiers and use ids to found hers

The ids are generated from the number 111111

Example using the variable simpleid to call the module: Create:

var atomicid = require('atomic-id');
atomicid.create('123456789');
if (atomicCreateErr) {
console.log('Has a user with this name');
return
}
console.log(atomicCreateUser + " has gained a new id " + atomicCreateID);

GetID:

var atomicid = require('atomic-id);
atomicid.getID('123456789');
if (atomicGetErr) {
console.log('Don't have a user with this name');
return
}
console.log('The id is ' + atomicGetID);

GetUser:

var atomicid = require('atomic-id);
atomicid.getUser('111111');
if (atomicGetErr) {
console.log('Don't have a user with this id');
return
}
console.log('The user is ' + atomicGetUser);

Delete: Delete can use both arguments (User and ID)

var atomicid = require('atomic-id);
atomicid.delete('123456789');
if (atomicDelErr) {
console.log('Don't have a user with this name');
return
}
console.log('The user has deleted');

About me: I only have 14 years old, I live in Brazil country and I have also never taken a JavaScript or English course so I'm sorry if you have any errors

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago