New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

jsonapi-parserinator

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsonapi-parserinator

Parser for jsonapi formatted APIs.

latest
Source
npmnpm
Version
0.5.0
Version published
Maintainers
1
Created
Source

JSONAPI Parser

var parser = require('jsonapi-parserinator'),
  options = {
    endpoint: '/api/bikes',
    includes: ['item', 'list']
  },
  data;

parser
  .setHost({
    api_root: 'yourapi.com',
    api_version: 'v0.1'
  })
  .get(options, function (apiData) {
    data = apiData;
    var parsedData = parser.parse(data);
    console.log(parsedData);
  });

Parserinator

At NYPL we have been adding the -inator suffix to our applications. Check out

  • Locinator
  • Researchinator
  • Staffinator

This JSONAPI parser is based on an AngularJS JSONAPI parser which was used for the Staffinator, except that this is a node module with the intent to use it for many different Javascript frameworks and not just AngularJS.

Keywords

jsonapi

FAQs

Package last updated on 14 Jul 2016

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