
Product
Introducing the Alert Details Page: A Better Way to Explore Alerts
Socket's new Alert Details page is designed to surface more context, with a clearer layout, reachability dependency chains, and structured review.
@types/bip21
Advanced tools
npm install --save @types/bip21
This package contains type definitions for bip21 (https://github.com/bitcoinjs/bip21).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/bip21.
// Type definitions for bip21 v2.0.0
// Project: https://github.com/bitcoinjs/bip21
// Definitions by: Stefan Huber <https://github.com/stefanhuber>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
type Options =
| {
amount?: number;
}
| { [key: string]: string };
declare namespace bip21 {
export function decode(uri: string, urnScheme?: string): { address: string; options: Options };
export function encode(address: string, options?: Options, urnScheme?: string): string;
}
export = bip21;
These definitions were written by Stefan Huber.
FAQs
TypeScript definitions for bip21
The npm package @types/bip21 receives a total of 432 weekly downloads. As such, @types/bip21 popularity was classified as not popular.
We found that @types/bip21 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.

Product
Socket's new Alert Details page is designed to surface more context, with a clearer layout, reachability dependency chains, and structured review.

Product
Campaign-level threat intelligence in Socket now shows when active supply chain attacks affect your repositories and packages.

Research
Malicious PyPI package sympy-dev targets SymPy users, a Python symbolic math library with 85 million monthly downloads.