npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

freedom

v0.6.36

Published

Embracing a distributed web

Downloads

144

Readme

freedom.js

Build Status Build Status Coverage Status Code Climate Selenium Test Status

freedom.js is a framework for building peer-to-peer (P2P) web apps. freedom.js makes it easy to quickly create social interactive applications that instantly work in modern web browsers, Chrome packaged apps, Firefox extensions, node.js, and native mobile apps. Because freedom.js apps are just JavaScript, they can be distributed as packages on an app store or hosted on static web servers. We're bringing peer-to-peer back, baby.

freedom.js comes with a tested set of implementations for storage, network communication, and navigating the social graph. The library exposes an architecture allowing you to build, think about, and debug your application from the perspective of a single user.

Use freedom.js

If you want a built version of freedom.js into your website, grab a copy from our CDN:

Websites:

Chrome Apps:

Firefox Extensions:

freedom, freedom-for-node, freedom-for-chrome, and freedom-for-firefox also exist as npm packages

npm install freedom
npm install freedom-for-node
npm install freedom-for-chrome
npm install freedom-for-firefox

To track progress of freedom.js for other platforms, check out these other repositories:

More documentation for building freedom.js, and including it in your project is on our GitHub wiki.

See freedom.js

Demos show many of the common freedom.js patterns.

To run the demonstrations locally, run grunt demo.

NOTE: freedom.js will not work when included as a file:// URL (since reading from other file protocol URLs is disallowed). freedom.js is being developed against current versions of Chrome and Firefox.

Build freedom.js

To create your own freedom.js, run grunt in the main repository. This will compile, lint, unit test, and optionally compress the code base. freedom.js can also be included in your project as an NPM dependency:

npm install freedom --save

Other helpful grunt commands:

  • grunt freedom - Build freedom.js and run phantomjs unit tests
  • grunt demo - Build and run demos
  • grunt test - Run unit tests in Chrome and Firefox
  • grunt debug - Build all tests and launch a webserver. freedom.js unit and integration tests can then be run by navigating to http://localhost:8000/_SpecRunner.html

Help freedom.js

We welcome contributions and pull requests! A set of current issues are maintained in the issues section of this repository. In addition, we would be happy to help you work through bugs with your use of the library and suggest solutions on our mailing list ([email protected]).

Pull requests are automatically reviewed by travis to verify code quality and unit tests. You can predict that a pull request will fail if running grunt test locally fails.

Internal documentation for the library is automatically generated and provides a reasonable starting point for understanding the internals of freedom.js.