
Research
/Security News
OpenAPI React Query Codegen Compromised in Mini Shai-Hulud npm Supply Chain Attack
Ten malicious OpenAPI React Query Codegen versions were published to npm in the Mini Shai-Hulud attack, all with valid provenance.
@kittycad/lib
Advanced tools
Fully typed js library, compatible with js and ts.
Please see CONTRIBUTING.md for how to to publish AND AN EXPLANATION BEHIND THE DERIVATION PROCESS!
npm install @kittycad/lib
# or
yarn add @kittycad/lib
## set your token
export KITTYCAD_TOKEN=<your token>
import { file } from '@kittycad/lib';
import fsp from 'fs/promises';
async function main() {
// zoo.dev/docs/api/get-cad-file-mass?lang=typescript
const response = await file.create_file_mass({
src_format: 'obj',
material_density_unit: 'kg:m3',
output_unit: 'g',
material_density: 0.007,
body: await fsp.readFile('./example.obj', 'base64'),
})
if ('error_code' in response) throw 'error'
const { status, mass } = response
console.log(status, mass);
}
main();
FAQs
Javascript library for KittyCAD API
The npm package @kittycad/lib receives a total of 6,157 weekly downloads. As such, @kittycad/lib popularity was classified as popular.
We found that @kittycad/lib demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 open source maintainers collaborating on the project.

Research
/Security News
Ten malicious OpenAPI React Query Codegen versions were published to npm in the Mini Shai-Hulud attack, all with valid provenance.

Security News
Socket joins more than 100 technology, cybersecurity, and financial organizations calling for a global surge in cyber defense.

Product
Enterprise security teams can now detect malware, credential theft, suspicious network activity, and risky updates across Microsoft Edge extensions.