Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
@flatfile/ai-agents
Advanced tools
A collection of AI Agents for building in Flatfile
This repo contains a collection of AI Agents for building in Flatfile.
npm install @flatfile/ai-agents
Update the .env
file with keys for your OpenAI and Anthropic models and select the model you want to use.
import { blueprintAgent } from '@flatfile/ai-agents'
const csv = `first_name, last_name, email, phone, address, city, state, zip_code
John,Doe,john.doe@example.com,123-456-7890,123 Main St,Anytown,CA,12345`
const blueprint = await blueprintAgent('gpt-4o', csv)
console.log(blueprint)
To publish the package, follow these steps:
Install dependencies: Install all required dependencies:
npm install
Build the package: Ensure that the package is built by running the following command:
npm run build
Run CI checks: Before publishing, make sure all CI checks pass. This includes building, checking format, checking exports, linting, and testing:
npm run ci
Create a changeset: If you haven't already, create a changeset to document the changes in this release:
npm run changeset
Version the package: Update the version based on the changeset:
npm run local-release
Publish the package: The prepublishOnly
script ensures that all CI checks are run before publishing. To publish the package, use:
npm publish
Make sure you have the necessary permissions to publish the package to the registry.
FAQs
A collection of AI Agents for building in Flatfile
The npm package @flatfile/ai-agents receives a total of 76 weekly downloads. As such, @flatfile/ai-agents popularity was classified as not popular.
We found that @flatfile/ai-agents 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.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.