
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
directus-sdk-javascript
Advanced tools
Directus SDK for JavaScript (Node and Browser)
Install the package via npm
npm install directus-sdk-javascript
Require the RemoteInstance class (support for local instances coming soon)
const RemoteInstance = require('directus-sdk-javascript/remote');
const client = new RemoteInstance({
url: 'http://instance.directus.io/api/1.1/',
accessToken: [user-token] // optional, can be used without on public routes
});
The client returns a Promise which resolves the APIs JSON data on succes and rejects on error
client.getItems('projects')
.then(res => console.log(res))
.catch(err => console.log(err));
Check the official API docs for a complete overview of all endpoints and available methods
FAQs
Directus SDK for JavaScript (Node and Browser)
The npm package directus-sdk-javascript receives a total of 24 weekly downloads. As such, directus-sdk-javascript popularity was classified as not popular.
We found that directus-sdk-javascript demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.