Socket
Book a DemoInstallSign in
Socket

@lcap/nasl-sdk

Package Overview
Dependencies
Maintainers
18
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lcap/nasl-sdk

A JavaScript SDK for NASL

latest
npmnpm
Version
0.0.1-beta.5
Version published
Maintainers
18
Created
Source

@lcap/nasl-sdk

NASL (NetEase Application Specification Language) JavaScript SDK,提供了一系列实用的工具函数,用于处理日期、数组、对象等常见数据操作。

安装

npm install @lcap/nasl-sdk

使用方式

import NaslSDK from '@lcap/nasl-sdk';

const { utils } = NaslSDK.init({
  typeDefinitionMap: new Map(),
  enumsMap: {},
  dataTypesMap: {},
  toString: () => '',
  fromString: () => null,
  throwError: () => null,
});

开发相关

构建

# 安装依赖
npm install

# 构建
npm run build

# 生成文档
npm run doc

# 运行测试
npm run test

# 代码格式化
npm run format

FAQs

Package last updated on 21 Apr 2025

Did you know?

Socket

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