Skip to content
This repository has been archived by the owner on Dec 29, 2018. It is now read-only.
/ swarm-shared Public archive

Code used in both the Swarm Simulator client and server.

License

Notifications You must be signed in to change notification settings

swarmsim/swarm-shared

Repository files navigation

NPM version Build Status Dependency Status

Swarm Simulator code shared between server and client.

Install

$ npm install --save swarm-shared

# or, locally - in .../swarm-shared/:
$ sudo npm link
# and in some other node.js repo, like .../swarm-server-sails/:
$ cd ../swarm-server-sails
$ npm link swarm-shared

# this works with bower and client-js packages, like .../swarm, too:
$ sudo bower link
$ npm run-script browser
$ cd ../swarm
$ bower link swarm-shared

Usage

var swarmShared = require('swarm-shared');
# creates a browser.js
$ npm run browser

License

GPLv2 © Evan Rosson

About

Code used in both the Swarm Simulator client and server.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published