Socket
Socket
Sign inDemoInstall

@colorsystem/api-typings

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @colorsystem/api-typings

TypeScript definitions for the ColorSystem.io API


Version published
Weekly downloads
2
Maintainers
1
Created
Weekly downloads
 

Readme

Source

ColorSystem.io API typings

This repository contains the typings for the ColorSystem.io API.

Usage

  1. Installation

    npm i -D @colorsystem/api-typings
    # or
    yarn add -D @colorsystem/api-typings
    
  2. Configure tsconfig.json

    {
      "compilerOptions": {
        "typeRoots": ["./node_modules/@colorsystem"]
      }
    }
    

    The configuration above is needed for the TypeScript compiler to use type definitions found in ./node_modules/@colorsystem. Normally, most external type definitions are from DefinitelyTyped and are installed in /@types, which included by TypeScript by default. Since we host the api typings separately, they are installed outside in /@colorsystem instead.

    Types should become globally available without needing to use import statements.

Keywords

FAQs

Last updated on 02 Nov 2023

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc