1.1.0 • Published 6 years ago

some-data v1.1.0

Weekly downloads
4
License
Apache-2.0
Repository
github
Last release
6 years ago

some-data

Some-Data allow you to get easily users data

Install some-data

```
npm install -g some-data
```

Use some-data

```
let user = new User('username', 14, 1234); // Create a user, with 3 parameters : username, age and call. 'call' isn't obligatory


//Properties

user.username //The username

user.location; // The user location
    user.location.latitude //The user latitude
    user.location.longitude //The user longitude

user.age // The user age

user.actions // The user actions


//Method

user.showInfo() //Will print the user information in the console

user.onAction('Click on the red button', 'Create an account') //Will add the list of actions to user.actions
```