who-client

1.1.1 • Public • Published

who-client

JavaScript Client Library for Who.

Usage

Read the User Guide.

Development

Grab NVM and go:

nvm install
nvm exec npm install

You should be ready to go! Check by running the tests:

nvm exec npm test

⚡️ ⚡️ DEV MODE ⚡️ ⚡️

Run this to ⚡️ ⚡️ ENTER DEV MODE: ⚡️ ⚡️

nvm exec npm run watch

In Dev Mode:

  • A server will be started to the demo server at http://localhost:8080. This will live reload on lib changes.
  • The specs will be run on every lib or spec change.
  • Webpack will bundle on every lib change.

For more information on the tasks you can do, check out package.json.

Troubleshooting

Sometimes when running Dev Mode, you can encounter:

> webpack -d --watch
events.js:141
throw er; // Unhandled 'error' event
      ^

Error: listen EADDRINUSE 127.0.0.1:8080
...

The test server isn't very good at shutting itself down correctly. Use kill $(lsof -t -i:8080) to get rid of any stray Node.JS instances and restart Dev Mode.

Readme

Keywords

none

Package Sidebar

Install

npm i who-client

Weekly Downloads

5

Version

1.1.1

License

MIT

Last publish

Collaborators

  • reevoo