@starknet-io/types-js
TypeScript icon, indicating that this package has built-in type declarations

0.8.1 • Public • Published

Support starknet.js on drips.network

🐺 Starknet TypeScript types 🚀 definitions for Starknet projects

Installation

RPC 0.8 - Latest

npm i @starknet-io/types-js

RPC 0.7

npm i @starknet-io/types-js@0.7.10

Types

// type import
import type { SomeApiType } from '@starknet-io/types-js';
// or entire namespace import
import { API } from '@starknet-io/types-js';
// type import
import type { SomeWalletApiType } from '@starknet-io/types-js';
// or entire namespace import
import { WALLET_API } from '@starknet-io/types-js';

Versioning

MAJOR and MINOR version of this package follows starknet-spec semantic versioning. The PATCH version can diverge based on the bug fixes.

Ex. Starknet types-js v0.7 == Starknet Spec v0.7

Devs Build

npm run build

Devs Testing

npm run lint

License

This repository is licensed under the MIT License, see LICENSE for more information.

Package Sidebar

Install

npm i @starknet-io/types-js

Weekly Downloads

49,970

Version

0.8.1

License

MIT

Unpacked Size

169 kB

Total Files

119

Last publish

Collaborators

  • odednaor
  • amanusk
  • haimk
  • z-dan