Socket
Socket
Sign inDemoInstall

@nimiq/core-types

Package Overview
Dependencies
0
Maintainers
6
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @nimiq/core-types

Typescript typings for the Nimiq core library


Version published
Maintainers
6
Install size
28.4 kB
Created

Readme

Source

This package aims to provide Typescript types for the Nimiq core library at http://cdn.nimiq.com/web.js. Currently, a subset of https://cdn.nimiq.com/web-offline.js is typed.

A global namespace 'Nimiq' is declared.

Install:

npm install --save-dev nimiq-core-types

or

yarn add --dev nimiq-core-types

Usage:

Add a .d.ts file to your project folder, e.g. Nimiq.d.ts, and make sure it is included in your .tsconfig. That file should contain:

// tslint:disable-next-line no-reference
/// <reference path="./node_modules/nimiq-core-types/Nimiq.d.ts" />

FAQs

Last updated on 02 Aug 2018

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