🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In
t

theanarkh

npm

Packages

Current Co-maintainers

Former Co-maintainers

32 packages

a-diff-tool

assign-for-react

try to solve the problem of react assign.

btake

a tool for taking node.js profile

copyindeep

对象和数组的深复制/浅复制

gc-tracker

Track the GC status of JS objects.

handle-tree-node

handle-tree-node

io_uring

is-a-promise

try to realize a promise just for study

is-bool

Judge the condition

iterator-deep

iterator deep

make-n-node-tree

m-branch-heapsort

m-branch-heapsort

my-ts-node

nodejs-diagnostics

nodejs-gc-load

nodejs gc load

nodejs-inspector

inspector for Node.js

nodejs_io_uring

nodejs中的io_uring插件(Linux5.1后的版本支持,可以通过uname -a查看,目前支持读取、写入)<br/> npm:npm i nodejs_io_uring

nodejs-i-p-c

使用自定义的应用层协议,实现nodejs进程间通信

nodejs-local-ipc

使用自定义的应用层协议,实现nodejs进程间通信

nodejs-threadpool

基于nodejs worker_threads的线程池。耗时操作或nodejs没有提供异步模式的api(例如解密、同步的文件api)都可以在线程池中执行,业务代码只需要返回一个Promise或async函数给线程池库,至于业务逻辑做什么操作,其实都可以,比如setTimeout,异步操作,async await等

nodejs-tiny-fsm

小型的有限状态机框架,用于解析长连接(比如tcp、unix域)上自定义的应用层协议

scan-file

scan file and you can handle the content of file

sealed

seal object

test-addons

thread-gate

we can use threadpool in nodejs directly , thread-gate try to handle this by controlling thread number.