🚀 Socket Launch Week Day 4:Socket MCP Adds Org Alerts, Threat Feed Review, and Package Inspection.Learn more
Sign In

neflaria-js

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

neflaria-js

Javascript library for interacting with the Neflaria API

latest
npmnpm
Version
0.0.2
Version published
Weekly downloads
6
-50%
Maintainers
1
Weekly downloads
 
Created
Source

neflaria-js

A javascript library for using data from Neflaria's API. http://www.neflaria.com

This contains models and collections that enforce validation, and toJSON methods for converting model data to JSON acceptable by the API. This library does not include methods for interacting with the API (at least, not yet.)

Getting Started

Use the file from dist/neflaria-js.js in the browser, or use NPM with npm install neflaria-js --save. (Neflaria-js is Browserify compatible.)

From there, you can:

var neflaria = require('neflaria-js');

var player = new neflaria.Models.Player({
  id: 1,
  name: 'Herp McHerpington'
});

Check out the test folder for example usage. Docs coming eventually.

Development

  • Install Node
  • Clone repository
  • cd to repository
  • Run npm install

Run npm test to run tests and check code coverage.

License

MIT Licensed (see LICENSE file.)

Keywords

neflaria

FAQs

Package last updated on 30 Dec 2013

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