Socket
Book a DemoInstallSign in
Socket

@ortac/specification

Package Overview
Dependencies
Maintainers
3
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ortac/specification

Ortac Specification and definition files

0.2.6
latest
Source
npmnpm
Version published
Weekly downloads
6
Maintainers
3
Weekly downloads
 
Created
Source

Ortac Specification

This project sets out the Ortac specification and exports various components which form part of the specification into both both CommonJS and ESM packages from a common Typescript ESM codebase.

Includes testing, coverage, coveralls.io, linting, TSDoc and auto creation of a package on creating a github release.

Typescript Node.js CI Node.js CI Coverage Status

Install

> npm install @ortac/specification

Features

  • Works with CommonJS and ESM
  • Provides Typescript types
  • Provides JSON Schemas for each file format as js objects
  • Provides TypeScript Type Guard functions for all file formats using JSON Schema checking (ajv)
  • Produces a set of ZIP files which are available on Github for each release version

Usage

ESM:

import * as ortac from '@ortac/specification';

console.log(ortac.schemas.locale.V1_0_0);

CommonJS:

var ortac = require('@ortac/specification');

console.log(ortac.schemas.locale.V1_0_0);

Documentation

Documentation can be found here

An explanation of everything produced by this project is here

Keywords

ortac

FAQs

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.