tim-message-js

1.0.2 • Public • Published

TimJs

one repository for npm package which for users can get Tim's message via javascript.

please install the package with npm and use the 'TimJs' class to get Tim's message as below steps:

First, please run the command:

npm i tim-message-js

Then the package will be installed under one folder,for example 'test', the will create a folder named 'node_nodules' in the 'test' folder. If everything completed above. You can use the package with bolow code with js:

var TimJs = require('tim-message-js');
var tim = new TimJs(25, 999999);

The paramters for the constructor is optional.
After that, the object 'tim' will has some property and methods and you can't add additional property or method on the object anymore. Below is the list:

  • age
  • name
  • account
  • getAge()
  • getName()
  • getAccount()
  • getGirlFriend()

Readme

Keywords

Package Sidebar

Install

npm i tim-message-js

Weekly Downloads

4

Version

1.0.2

License

MIT

Unpacked Size

1.97 kB

Total Files

3

Last publish

Collaborators

  • zeyun