
Security News
Socket Integrates With Bun 1.3’s Security Scanner API
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
@redactive/redactive
Advanced tools
The Redactive Node SDK provides a robust and intuitive interface for interacting with the Redactive platform, enabling developers to seamlessly integrate powerful data redaction and anonymization capabilities into their Node applications.
In order to use the package to integrate with Redactive.ai, run:
npm install redactive
There is no need to clone this repository.
If you would like to modify this package, clone the repo and install from source:
npm install ./sdks/node
The library has following components.
AuthClient needs to be configured with your account's API key which is available in the Apps page at Redactive Dashboard.
import { AuthClient } from "@redactive/redactive";
// Establish an connection to data source
// Possible data sources: confluence, google-drive, jira, zendesk, slack, sharepoint
const redirectUri = "https://url-debugger.vercel.app";
const provider = "confluence";
const signInUrl = await client.beginConnection(provider, redirectUri);
// Navigate User to signInUrl
// User will receive an oauth2 auth code after consenting the app's data source access permissions.
// Use this code to exchange Redactive access_token with Redactive API
const response = await client.exchangeTokens("OAUTH2-AUTH-CODE");
With the Redactive access_token, User can search documents with Redactive Search service.
import { SearchClient } from "@redactive/redactive";
const client = new SearchClient();
await client.queryChunks("REDACTIVE-ACCESS-TOKEN", "Tell me about AI");
The Node SDK code can be found thesdks/node
directory in Redactive Github Repository.
In order to comply with the repository style guide, we recommend running the following tools.
To format your code, run:
pnpm format:fix
To lint your code, run:
pnpm lint:fix
To test changes, run:
pnpm test
To build Python SDK, run:
pnpm build
To install local version, run:
npm install ./sdks/node
Please check here
FAQs
Redactive AI Node SDK
We found that @redactive/redactive demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.
Security News
A data handling bug in OSV.dev caused disputed CVEs to disappear from vulnerability feeds until a recent fix restored over 500 advisories.