
Security News
Meet Socket at Black Hat Europe and BSides London 2025
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.
ampersand-jsonapi-collection
Advanced tools
An extension to ampersand-rest-collection that adds methods and properties for working with JSON-API.
AmpersandJSONAPICollection is a JSON-API-compatible extension of the AmpersandJS REST Collection.
It achieves this JSON-API compatibility by overriding select methods within ampersand-rest-collection and adding appropriate HTTP headers to requests.
npm install ampersand-jsonapi-collection
Except as described below, AmpersandJSONAPICollection has the same interface as AmpersandRestCollection and AmpersandState.
To ensure this, AmpersandJSONAPICollection passes all tests for AmpersandRestCollection (version 5.0.0).
The following methods have been overridden:
This has been augmented to parse JSON-API formatted data: specifically a
format in which model attributes are nested within the structure
{ data: [ { attributes: {} } ] }.
This has been augmented in order to serialize data into the correct format expected by JSON-API.
FAQs
An extension to ampersand-rest-collection that adds methods and properties for working with JSON-API.
We found that ampersand-jsonapi-collection demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.