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

@publicodes/tools

Package Overview
Dependencies
Maintainers
0
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@publicodes/tools

A CLI tool for Publicodes

  • 1.5.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
244
decreased by-52.99%
Maintainers
0
Weekly downloads
 
Created
Source

CLI tools and utilities for Publicodes.

Installation

npm install @publicodes/tools

Features

  • Compilation: Convert .publicodes files into JSON models and TypeScript types
  • Rule Imports: Import rules from NPM packages using the importer! syntax
  • Optimization: Optimize models using constant folding
  • Migration: Tools for migrating between Publicodes versions
  • CLI: Command-line interface for easy project setup, compilation and development

Usage

Create a new Publicodes project

$ npx @publicodes/tools init

Compile it

$ npm run publicodes compile

Create a dev server for rule documentation

$ npm run publicodes dev

Documentation

For full documentation, visit publi.codes/docs/api/tools

Keywords

FAQs

Package last updated on 06 Feb 2025

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