New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

nanowrimo

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nanowrimo

Read and update NaNoWriMo word counts from Node.JS

  • 0.0.1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-60%
Maintainers
1
Weekly downloads
 
Created
Source

NaNoWriMo

Read and update NaNoWriMo status from Node.JS

Usage

Install

  npm install nanowrimo

NaNoWriMo API values

The API parameters, as found at http://nanowrimo.org/wordcount_api, can be passed in the object. Any parameters not passed will be assigned default (empty) values. Examples:


var nnwm = {
  user: 'my_nnwm_username',
  region: 'usa-california-east-bay',
  secretKey: 'abc123',
  wordCount: 123456
}

Examples

Retrieving word count

var nnwm = require('nanowrimo');

var n = new nnwm({
  user: 'my_nnwm_username'
});

n.getCount(function(err, count) {
  if (err) {
    console.log('error:', err);
  } else {
    console.log('count:', count);
  }
});

Available APIs

The following APIs are available, more info is available on the NaNoWriMo API page.

APIDescription
getCount()Current individual word count
getCountHistory()Individual word count history
getSiteCount()Site word count
getSiteCountHistory()Site word count history
getRegionCount()Regional word count
getRegionCountHistory()Regional word count history
updateCount()Update individual word count

Keywords

FAQs

Package last updated on 05 Apr 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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc