
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
refuel-sdk
Advanced tools
The Refuel JavaScript SDK is a lightweight and easy-to-use client library for interacting with the Refuel API. It enables you to label data, manage application responses, and collect feedback seamlessly within your JavaScript or TypeScript applications.
Note: We also have a SDK for Python.
To install the SDK, use npm or yarn:
npm install refuel-sdk
or
yarn add refuel-sdk
To get started, you'll need a Refuel API key. You can find this in your account settings or contact your team administrator.
Import the SDK into your application and start interacting with the Refuel API:
import { Refuel } from "refuel-sdk";
const refuel = new Refuel("your_access_token");
const applicationLabels = await refuel.applications.label(
"your_application_id",
[
// Data to label
{
menu_text:
"Grilled chicken sandwich with avocado and chipotle mayo",
},
]
);
import { Refuel } from "refuel-sdk";
const refuel = new Refuel("your_access_token");
await refuel.applications.feedback(
"your_application_id",
"your_labeled_item_id",
// Correct label
{
vegetarian: "no",
}
);
These steps are intended for developers of the refuel-sdk. If you are just installing refuel-sdk to use in your application then you can ignore this section.
After making changes, use the following steps to test your changes locally:
npm run buildcd ~/Development/refuel-cloud-web)npm install /local/path/to/refuel-sdkAfter merging your changes to main, complete the following steps to publish a new version of the SDK:
package.json and increase the version number (follow semver starting with v1.0.0, for versions prior to v1.0.0 always increase the minor version by one)npm run buildpackage.json in step 1git tag vX.X.Xgit push origin --tagsnpm publishReach out to us at support@refuel.ai with any questions!
FAQs
Label, clean and enrich text datasets with LLMs
We found that refuel-sdk demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.