Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
contential
Advanced tools
JavaScript SDK for Contential content and GraphQL APIs. It helps you to easily access your data stored in Contential with your JavaScript applications.
npm install contential
Use the createClient
method to create an authenticated client that connects to your data.
const { createClient } = require('contential');
const contential = createClient({
apiKey: 'e347fea300b50578870fda807ec455',
});
The Contential APIs use API keys to authenticate requests. You can view and manage your API keys in the Contential Dashboard.
Property | Type | Example | Required | Description |
---|---|---|---|---|
regionId | String | us | true | Region of where the data will be stored. |
spaceId | String | 4dcb2eaf1d | true | ID of space of where the data will be stored. |
recordId | String | my-record | true | The ID for your record. |
localeId | String | en-US | false | Locale for your data to allow for translations. |
data | String | Object | My record data | true | The data for the record. Can be a string or an object. |
const { createClient } = require('contential');
const contential = createClient({
apiKey: 'e347fea300b50578870fda807ec455',
});
contential.record
.add({
regionId: 'us',
spaceId: '4dcb2eaf1d',
recordId: 'my-record',
localeId: 'en-US',
data: { 'message":"Contential is amazing!' },
})
.then(result => console.log(result))
.catch(error => console.log(error));
For more details on getting started with Contential, visit the Contential Docs
We appreciate any help you can give to improve Contential.
PRs are welcome!
This repository is published under the MIT license.
FAQs
Contential - JavaScript Client
The npm package contential receives a total of 1 weekly downloads. As such, contential popularity was classified as not popular.
We found that contential 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.