2acoin-cryptonote-util

中文文档
0.0.9发布于 2020/11/01GPL-3.0TypeScriptCommonJS近 30 天下载 8192

image

原始使用文档
文档目录4 节
  1. Dependencies
  2. Installation
  3. Intialization
  4. Documentation

image

Master Build Status

Build Status

Development Build Status

Build Status

NPM

Node-Cryptonote-Util

Note: We build prebuilds of the Node.js native addon module binaries that are included for distribution with the NPM installed version of this package to speed up your development and use of this package.

Supported on the following platforms:

  • Linux 64-bit
  • Windows 64-bit

Dependencies

Windows (if not using prebuilds)

Read very careful if you want this to work right the first time.

  1. Open a Windows Powershell console as Administrator

  2. Run the command: npm install -g windows-build-tools --vs2015 This will take a while. Sit tight.

Installation

npm install 2acoin-cryptonote-util

Intialization

TypeScript

Importing Individual Synchronous Methods
import { 
    address_decode, 
    construct_block_blob, 
    convert_blob, 
    convert_blob_bb, 
    get_block_id 
} from '2acoin-cryptonote-util';
Importing Async Class
import CryptoNoteUtils from '2acoin-cryptonote-util';

CommonJS

const cnUtils = require('2acoin-cryptonote-util');

Documentation

You can find the full TypeScript/JS documentation for this library here.

版本与发布记录

2acoin-cryptonote-util 共发布 2 个版本,首次发布于 2020/10/31;过去 12 个月发布了 0 个版本。

版本发布日期距今
0.0.9latest2020/11/016 年前
0.0.82020/10/316 年前

关于 2acoin-cryptonote-util 的常见问题

如何安装 2acoin-cryptonote-util?

在项目目录运行 npm install 2acoin-cryptonote-util,或使用 pnpm add / yarn add / bun add。

2acoin-cryptonote-util 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

2acoin-cryptonote-util 支持 ESM 还是 CommonJS?

以 CommonJS 形式发布,可以直接 require();在 ES Module 项目中也可以用 import 引入(Node.js 会把 module.exports 作为默认导出)。

2acoin-cryptonote-util 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=10。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

2acoin-cryptonote-util 可以商用吗?

2acoin-cryptonote-util 使用 GPL-3.0 许可。强 Copyleft:分发包含该代码的软件时,整个作品需以 GPL-3.0 兼容许可开源,并附带专利与反锁定条款。仅内部使用不触发此义务。以上为概括,不构成法律意见,请以许可原文为准。

2acoin-cryptonote-util 的下载量有多少?

根据 npm 官方下载统计,2acoin-cryptonote-util 在 2026/10/04 – 2026/11/02 这 30 天内被下载 8,192 次,日均约 273 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

2acoin-cryptonote-util 还在维护吗?

最新版本 0.0.9 发布于 2020/11/01(6 年前);至今共发布 2 个版本,其中过去 12 个月发布了 0 个;首次发布于 2020/10/31。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。