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

create-eva

Package Overview
Dependencies
Maintainers
0
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-eva

Package to generate EVA Service typings

  • 2.0.1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
16
increased by166.67%
Maintainers
0
Weekly downloads
 
Created
Source

create-eva

A CLI tool to generate TypeScript definitions for EVA Services.

Usage

Basic usage:

npx create-eva typegen

Command Line Options

  • -i <environment>: Specify the input environment to generate typings for

    npx create-eva typegen -i https://api.on-eva.io
    
  • -o <directory>: Specify the output directory (defaults to "./eva-types")

    npx create-eva typegen -o ./types
    
  • --use-string-ids: Use string IDs instead of numeric IDs

    npx create-eva typegen --use-string-ids
    

You can combine these options:

npx create-eva typegen -i https://api.on-eva.io -o ./types --use-string-ids

Configuration

You can create an eva.config.ts file in your project root to set default options:

export default {
  output: "./types", // Default output directory
  input: "https://api.on-eva.io", // Default environment
  useStringIds: true, // Use string IDs by default
};

Command line arguments will override these configuration options.

Contributing

Please see CONTRIBUTING.md for development setup and guidelines.

FAQs

Package last updated on 24 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