Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
@lcap/nasl
Advanced tools
Software Development Kit of NetEase Application Specific Language.
NASL SDK 是针对 NASL 投射编辑的无可视化的软件工具包,与用户在编辑器中的实际操作一致。轻舟低代码平台的 IDE 和前端生成服务便是主要以它为核心开发的。
可运行在 现代浏览器 和 Node.js (>=14) 环境上。
🧐 NASL SDK 主要包含以下功能:
NASL SDK 不包含以下功能:
我们以一个在 Node.js 环境运行的脚本为例,您可以在上面进行快速开发。这里推荐使用 TypeScript,它可以给您提供很方便的关于 NASL Object Model 的类型提示。
安装 Node.js (>=14)
npm i --save nasl@1.0.0-alpha
import * as nasl from 'nasl';
async function start() {
await nasl.connect('http', '/some/path');
const app = await nasl.loadApp('aw9fajff90j323');
// Do your things
}
start();
import * as nasl from 'nasl';
async function start() {
await nasl.connect('http', 'http://dogfood.lcap.163yun.com', 'username', 'password');
const app = await nasl.loadApp('aw9fajff90j323');
// Do your things
}
start();
import * as nasl from 'nasl';
async function start() {
await nasl.connect('file', './demo-app.json');
const app = await nasl.loadApp();
}
start();
npm run test:one -- src/test/integration/connect-file.ts
FAQs
NetEase Application Specific Language
The npm package @lcap/nasl receives a total of 514 weekly downloads. As such, @lcap/nasl popularity was classified as not popular.
We found that @lcap/nasl demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.