https://github.com/agm-dev/remoteok
JS lib to get and manage remoteok.io/api
https://github.com/agm-dev/remoteok
Last synced: 7 months ago
JSON representation
JS lib to get and manage remoteok.io/api
- Host: GitHub
- URL: https://github.com/agm-dev/remoteok
- Owner: agm-dev
- License: mit
- Created: 2019-02-22T20:33:24.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-22T23:42:50.000Z (about 7 years ago)
- Last Synced: 2025-08-02T12:26:37.009Z (8 months ago)
- Language: JavaScript
- Size: 27.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RemoteOk.js
JS lib to get and manage [remoteok.io/api](https://remoteok.io/api) data.
## Installation
```
npm install --save remoteok
```
## Usage
```javascript
const RemoteOk = require('remoteok');
const RO = new RemoteOk();
RO.getData()
.then(success => {
if (success) {
console.log(RO.data);
const tags = RO.getTags();
console.log(tags);
const nodeJobs = RO.getJobsByTags(['node', 'nodejs', 'node.js'])
console.log(nodeJobs);
return;
}
console.log(RO.error);
})
.catch(err => console.error(err));
```
## Collaboration
Feel free to send pull requests.