2.1.0 • Published 6 years ago

the-noun-project v2.1.0

Weekly downloads
538
License
ISC
Repository
github
Last release
6 years ago

The Noun Project

npm version Build Status

Node.js wrapper for The Noun Project's API

Installation

Simply add to your project with

npm install --save the-noun-project

In your project file:

var NounProject = require('the-noun-project'),
nounProject = new NounProject({
    key: 'foo',
    secret: 'bar'
});

You can get your keys from The Noun Project developer's page.

Usage

See The Noun Project API Explorer for more information on the endpoints available.

The query string options object is optional and can be omitted. See the tests for more information.

nounProject.getIconsByTerm('goat', {limit: 5}, function (err, data) {
    if (!err) {
        console.log(data.icons);
    }
});

or

nounProject.getIconsByTerm('goat', function (err, data) {
    if (!err) {
        console.log(data.icons);
    }
});
2.1.0

6 years ago

2.0.2

6 years ago

2.0.1

8 years ago

2.0.0

9 years ago

1.0.0

9 years ago