New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cybertipline-tools

Package Overview
Dependencies
Maintainers
0
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cybertipline-tools

Unofficial Types and Utilities for working with the CyberTipline API

  • 0.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-83.33%
Maintainers
0
Weekly downloads
 
Created
Source

CyberTipline Tools

A unofficial collection of tools for interacting with the National Center for Missing & Exploited Children's CyberTipline Reporting API.

Installation

pnpm install cybertipline-tools

Requirements

We officially support Node.js 22.x and later, but the library may work on older versions.

The package exports ESM modules, so you may need to do some extra configuration to use it in a CommonJS environment.

Features

  • TypeScript support
    • We export TypeScript declaration files with the package for all documented APIs.
  • Inline documentation
    • We document all our APIs and types with JSDoc comments to give you inline documentation in your editor.
  • Standalone utils
    • Don't need the API client? Just import the utils you need.

Coming soon™️:

  • API client, ability to call the CyberTipline APIs.
    • JSON to XML builder. Convert input JSON objects to XML for post calls.
    • XML to JSON conversion for responses from the API.
    • APIs to support:
      • GET /status
      • POST /submit
      • POST /upload
      • POST /fileinfo
      • POST /finish
      • POST /retract
  • Support batch reporting.
    • Generate a full report and batch send.
  • Strict schema validation (Zod, or similar).
  • Full test coverage.

Maybe in the future:

  • E2E Validation against the CyberTipline API test endpoint.
  • Automatically generate TypeScript types from the CyberTipline xsd schema.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Keywords

FAQs

Package last updated on 05 Dec 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc