Socket
Book a DemoInstallSign in
Socket

numbers-today

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

numbers-today

numbers.today API client library for node.js/io.js

0.1.1
latest
Source
npmnpm
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

numbers-today

numbers.today API client library for node.js/io.js

Build Status Coverage Status Dependency Status

Installation

NPM Stats

This is a module for node.js and io.js and is installed via npm:

npm install numbers-today --save

Getting Started

var numbersToday = require('numbers-today');

// Counting

numbersToday('username', 'password')
    .button('blogposts')
	.hit();

numbersToday('token')
	.button('moneyspent')
	.hit(15.5, 'NY')
    .hits(function (hits) {
        console.log(hits);
    })
	.error(function (err) {
        // Handle any error here.
    });

// Support for other API features forthcoming.

Contributing

To set up your development environment for numbers-today:

  • Clone this repo to your desktop,
  • in the shell cd to the main folder,
  • hit npm install, and
  • hit npm install gulp -g if you haven't installed gulp globally yet.
  • Make a copy of credentials-sample.json with the name credentials.json and enter the following data:
  • Run gulp dev. (Or run node ./node_modules/.bin/gulp dev if you don't want to install gulp globally.)

gulp dev watches all source files and if you save some changes it will lint the code and execute all tests. The test coverage report can be viewed from ./coverage/lcov-report/index.html.

If you want to debug a test you should use gulp test-without-coverage to run all tests without obscuring the code by the test coverage instrumentation.

Change History

  • v0.1.1 (2015-05-09)
    • Improved error handling
  • v0.1.0 (2015-05-09)
    • Initial version

License (ISC)

In case you never heard about the ISC license it is functionally equivalent to the MIT license.

See the LICENSE file for details.

Keywords

numbers.today

FAQs

Package last updated on 10 May 2015

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.