# @mars/the-noun-project

> Node.js wrapper for The Noun Project's API

Latest version **2.1.0** (published 2018-03-20) · ISC license · 0 weekly downloads

## Install

```sh
npm install @mars/the-noun-project
pnpm add @mars/the-noun-project
yarn add @mars/the-noun-project
bun add @mars/the-noun-project
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.1.0 |
| Published | 2018-03-20 |
| First published | 2018-03-20 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 13.8 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Ross Hettel |
| Maintainers | mars |
| Keywords | noun, project, api |

## Links

- npm: https://www.npmjs.com/package/@mars/the-noun-project
- Repository: https://github.com/mars/the-noun-project
- Issues: https://github.com/mars/the-noun-project/issues
- npm.io page: https://npm.io/package/@mars/the-noun-project

## Dependencies (2)

- [mocha](https://npm.io/package/mocha.md) ^2.3.4
- [request](https://npm.io/package/request.md) ^2.67.0

## Recent versions

- 2.1.0 (latest) — 2018-03-20

## README

The Noun Project
================

[![npm Module](https://img.shields.io/npm/v/@mars/the-noun-project.svg)](https://www.npmjs.com/package/@mars/the-noun-project)

Node.js wrapper for The Noun Project's API

Installation
------------
Simply add to your project with
````bash
npm install --save @mars/the-noun-project
````

In your project file:
````javascript
var NounProject = require('@mars/the-noun-project'),
nounProject = new NounProject({
    key: 'foo',
    secret: 'bar'
});
````
You can get your keys from [The Noun Project developer's page](https://thenounproject.com/developers/).

Usage
-----
See [The Noun Project API Explorer](http://api.thenounproject.com/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.


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

---
_Source: https://npm.io/package/@mars/the-noun-project · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
