Socket
Book a DemoInstallSign in
Socket

freedom-for-node

Package Overview
Dependencies
Maintainers
3
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

freedom-for-node

Embracing a distributed web

latest
Source
npmnpm
Version
0.2.20
Version published
Weekly downloads
2
-60%
Maintainers
3
Weekly downloads
 
Created
Source

freedom-for-node

Build Status Build Status Code Climate A freedom.js Distribution for inclusion by Node.js.

Installation

npm install --save freedom-for-node

Running

Creating a freedom.js application from node is identical to the case in the browser. You can find the freedom object exported from the module.

require('freedom-for-node').freedom('path/to/module.json', {}).then(function(Root){
var root = new Root();
root.on('event', function(data) {
	// Do things.
});
root.emit('message', 'my Message');
});

FAQs

Package last updated on 19 Jul 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts