Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ama-sdk/create

Package Overview
Dependencies
Maintainers
0
Versions
1361
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ama-sdk/create

Create a new SDK

  • 11.3.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
433
decreased by-70.16%
Maintainers
0
Weekly downloads
 
Created
Source

SDK project initializer

Super cute Otter!

Description

Stable Version Bundle Size

This package is an NPM initializer to generate an API client SDK based on OpenAPI specification.

Create an SDK package

This package is simplifying the start of new SDK repository.

Usage

npm create @ama-sdk typescript <package-name> -- [...options]

or

yarn create @ama-sdk typescript <project-name> [...options]

[!WARNING] Please notice that the command yarn create is not available for versions >= 2.0.0 (see Yarn cli commands).

You can generate an environment with a specific package manager thanks to the --package-manager options:

npm create @ama-sdk typescript <project-name> -- --package-manager=yarn [...options]

Options list

  • --package-manager: Node package manager to be used (npm and yarn are available).

  • --debug --no-dry-run: Enable schematics debug mode (dry-run is not currently supported).

  • --o3r-metrics: Enable or disable the collection of anonymous data for Otter

  • --exact-o3r-version : use a pinned version for otter packages.

  • --spec-path: Path to the swagger/open-api specification used to generate the SDK

  • --spec-package-name: The npm package name where the spec file can be fetched

  • --spec-package-path: The export path inside the package.json where to find the spec file. Defaults to ./openapi.[yml|yaml|json]

  • --spec-package-version: The version to target for the npm package where the spec file can be fetched

  • --spec-package-registry: The npm registry where the spec file can be fetched

[!NOTE] If --spec-path or --spec-package-name is specified, the SDK will be generated based on this specification at the creation time.

[!NOTE] --spec-package-registry option assumes that the authentication is set up globally (See npm setup, yarn setup)

Keywords

FAQs

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