npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@deepseek-ai/node-addon-system

v0.1.2

Published

Prebuilt system primitives: a Linux Landlock launcher and asynchronous POSIX flock through stable Node-API

Readme


description: "预编译 Landlock 启动器与异步 POSIX flock 的 JavaScript 入口。" kind: "package-library"

@deepseek-ai/node-addon-system

English | 中文

./landlock-run 入口导出 Landlock 启动器路径、强制执行探测、授权参数和协议常量。独立的 ./flock 入口导出 tryLockExclusive(fd): Promise<void>;导入任一入口都不会加载 system.node。包不提供根导出。

锁操作异步尝试 LOCK_EX | LOCK_NB。在完成前保持调用方拥有的描述符打开;竞争以 EAGAIN/EWOULDBLOCK 拒绝,其他系统调用失败也会拒绝,错误携带 code、正 errno 和 syscall: 'flock'。原生调用准备阶段的错误也会拒绝同一个 promise。关闭该打开文件描述的最后一个描述符即释放锁。绑定不打开、复制、关闭或显式解锁描述符。

可选操作系统/CPU 平台包携带二进制。Linux 包含 bin/landlock-run 和分别用于两种 libc 的 bin/glibc/system.node / bin/musl/system.node;macOS 包含 bin/system.node。flock 绑定缺失或无法加载时拒绝获取,不在安装时编译。Landlock 仍是遵循既有失败关闭协议的独立可执行文件;不支持的内核或平台探测为不可用。

两个 C 源文件随包分发以供审计。参见工作区架构支持矩阵CLI 约定