Skip to content

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

Notifications You must be signed in to change notification settings

tiandiduwuxiaoxiao/TimJs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

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()

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published