open-index/open-npm huggingface dataset:
npm package: @iuser/extract
Description: <!-- EDIT /Users/z/user/node/extract/readme.md -->
Author: i@user.tax
Latest version: 0.0.1

<!-- EDIT /Users/z/user/node/extract/readme.md -->

# @iuser/extract

incr version number

## 安装

推荐用 [@antfu/ni](https://www.npmjs.com/package/@antfu/ni)

```
ni -D @iuser/extract
```

## 使用

[→ test/index.coffee](test/index.coffee)

```coffee
#!/usr/bin/env coffee

> @iuser/extract > extract extractLi
console.log extract('12<a>b</a>23','<a>','</a>')
for i from extractLi('<a>a</a>12<a>b</a>23','<a>','</a>')
  console.log i

```


输出

[→ out.txt](out.txt)

```txt
b
a
b
```
npm package: @iuser/it
Description: <!-- EDIT /Users/z/iuser/node/it/readme.md -->
Author: i@iuser.link
Latest version: 0.0.6

<!-- EDIT /Users/z/iuser/node/it/readme.md -->

# @iuser/it

i18n translate file

like [NestedText](https://nestedtext.org/en/stable/basic_syntax.html) , but tiny

## 安装

推荐用 [@antfu/ni](https://www.npmjs.com/package/@antfu/ni)

```
ni -D @iuser/it
```

## 使用

[→ test/index.coffee](test/index.coffee)

```coffee
#!/usr/bin/env coffee

> @iuser/it > dumps loads

txt = dumps {
  x : 'a'
  y :
    c : 'b'
    'a : 1': 2
    e : """Mosh
      (mobile shell)
      Remote terminal application that allows roaming, supports intermittent connectivity, and provides intelligent local echo and line editing of user keystrokes.

      Mosh is a replacement for interactive SSH terminals. It's more robust and responsive, especially over Wi-Fi, cellular, and long-distance links.

      Mosh is free software, available for GNU/Linux, BSD, macOS, Solaris, Android, Chrome, and iOS."""
}

console.log txt

console.log '\n---\n'

o = loads txt
console.log o

console.log '\n---\n'

console.log txt == dumps (o)
```


## 输出

[→ out.txt](out.txt)

```txt
x : a
y :
  c : b
  a : 1 |
    2
  e |
    Mosh
    (mobile shell)
    Remote terminal application that allows roaming, supports intermittent connectivity, and provides intelligent local echo and line editing of user keystrokes.

    Mosh is a replacement for interactive SSH terminals. It's more robust and responsive, especially over Wi-Fi, cellular, and long-distance links.

    Mosh is free software, available for GNU/Linux, BSD, macOS, Solaris, Android, Chrome, and iOS.
  a :
    j : 2
    x :
      f : 5
      g : 6
f : 3


---

{
  x: 'a',
  y: {
    c: 'b',
    'a : 1': '2',
    e: 'Mosh\n' +
      '(mobile shell)\n' +
      'Remote terminal application that allows roaming, supports intermittent connectivity, and provides intelligent local echo and line editing of user keystrokes.\n' +
      '\n' +
      "Mosh is a replacement for interactive SSH terminals. It's more robust and responsive, especially over Wi-Fi, cellular, and long-distance links.\n" +
      '\n' +
      'Mosh is free software, available for GNU/Linux, BSD, macOS, Solaris, Android, Chrome, and iOS.',
    a: { j: '2', x: [Object] }
  },
  f: '3'
}

---

true
```
npm package: @iuser/kebab
Description: <!-- EDIT /Users/z/iuser/node/kebab/readme.md -->
Author: i@iuser.link
Latest version: 0.0.1

<!-- EDIT /Users/z/iuser/node/kebab/readme.md -->

# @iuser/kebab

## 安装

推荐用 [@antfu/ni](https://www.npmjs.com/package/@antfu/ni)

```
ni -D @iuser/kebab
```

## 使用

[→ test/index.coffee](test/index.coffee)

```coffee
#!/usr/bin/env coffee

import kebab from '@iuser/kebab'

for i in 'str_li str2li i18n iI18n test-db User LIB_INDEX'.split(' ')
  console.log "#{i} → #{kebab i}"
```


输出

[→ out.txt](out.txt)

```txt
str_li → str-li
str2li → str2li
i18n → i18n
iI18n → i-i18n
test-db → test-db
User → user
LIB_INDEX → lib-index
```
npm package: @iuser/msgpack
Description: <!-- EDIT /Users/z/user/node/msgpack/readme.md -->
Author: i@user.tax
Latest version: 0.0.1

<!-- EDIT /Users/z/user/node/msgpack/readme.md -->

# @iuser/msgpack

## 安装

推荐用 [@antfu/ni](https://www.npmjs.com/package/@antfu/ni)

```
ni -D @iuser/msgpack
```

## 使用

[→ test/index.coffee](test/index.coffee)

```coffee
#!/usr/bin/env coffee

import {pack,unpack} from '@iuser/msgpack'


console.log pack 1
console.log unpack pack 1
```


输出

[→ out.txt](out.txt)

```txt
<Buffer 01>
1
```
npm package: @iuser/node-loader
Description: <!-- EDIT /Users/z/user/node-loader/readme.md -->
Latest version: 0.0.46

<!-- EDIT /Users/z/user/node-loader/readme.md -->

nodejs loader for coffeescript

```
ni -D @iuser/node-loader
```

[→ test.sh](test.sh)

```sh
#!/usr/bin/env bash

DIR=$(dirname $(realpath "$0"))
cd $DIR
set -ex

bun run build

filepath=./test/test.coffee

exec node \
  --trace-uncaught \
  --experimental-fetch \
  --expose-gc \
  --loader "./lib/index.js" \
  --unhandled-rejections=strict $filepath
```


[→ test/test.coffee](test/test.coffee)

```coffee
#!/usr/bin/env coffee

> ./import:x
  utax/split

+ a

a = 1

console.log a


console.log x
```


[→ test/import.coffee](test/import.coffee)

```coffee
#!/usr/bin/env coffee

export default 2
```
npm package: @iuser/ossput
Description: <!-- EDIT /Users/z/user/node/ossput/readme.md -->
Author: i@user.tax
Latest version: 0.0.4

<!-- EDIT /Users/z/user/node/ossput/readme.md -->

# @iuser/ossput

阿里云文件上传

## 安装

推荐用 [@antfu/ni](https://www.npmjs.com/package/@antfu/ni)

```
ni -D @iuser/ossput
```

## 使用

[→ test/index.coffee](test/index.coffee)

```coffee
#!/usr/bin/env coffee

> @iuser/ossput
  ./ossLi.mjs

put = await ossput(
  ossLi
  'user-test'
)
await put(
  new Date()-0+''
  import.meta.url[7..]
  'text/coffeescript'
)

```


输出

[→ out.txt](out.txt)

```txt
backblazeb2 user-test 1661854207120
myqcloud user-test 1661854207120
```
npm package: @iuser/pg
Description: <!-- EDIT /Users/z/user/node/pg/readme.md -->
Author: i@user.tax
Latest version: 0.0.7

<!-- EDIT /Users/z/user/node/pg/readme.md -->

# @iuser/pg

incr version number

## 安装

推荐用 [@antfu/ni](https://www.npmjs.com/package/@antfu/ni)

```
ni -D @iuser/pg
```

## 使用

[→ test/index.coffee](test/index.coffee)

```coffee
#!/usr/bin/env coffee

> @iuser/pg
  ./pg.dist.mjs:CONF

Q = await pg CONF

host = 'usr.tax'
console.log host, await Q.host.valId(host)
console.log host, await Q.host.set({val:host},'val')
console.log host, await Q.host.get(1)


```


输出

[→ out.txt](out.txt)

```txt
usr.tax 1
usr.tax 1
usr.tax [ 1, 'usr.tax' ]
```
npm package: @iuser/read
Description: <!-- EDIT /Users/z/iuser/node/read/readme.md -->
Author: i@iuser.link
Latest version: 0.0.5

<!-- EDIT /Users/z/iuser/node/read/readme.md -->

# @iuser/read

create directory recursive then read file 

## 安装

推荐用 [@antfu/ni](https://www.npmjs.com/package/@antfu/ni)

```
ni -D @iuser/read
```

## 使用

[→ test/index.coffee](test/index.coffee)

```coffee
#!/usr/bin/env coffee

> @iuser/read
  path > join dirname

{pathname} = new URL(import.meta.url)

dir = dirname pathname

await read join(dir,'1/2/3.log'), 'test'
```
npm package: @iuser/replace
Description: <!-- EDIT /Users/z/iuser/node/replace/readme.md -->
Author: i@iuser.link
Latest version: 0.0.18

<!-- EDIT /Users/z/iuser/node/replace/readme.md -->

# @iuser/replace

## 安装

推荐用 [@antfu/ni](https://www.npmjs.com/package/@antfu/ni)

```
ni -D @iuser/replace
```

## 使用

[→ test/index.coffee](test/index.coffee)

```coffee
#!/usr/bin/env coffee

> @iuser/replace

console.log replace(
  '''01<a>
      1

      </a>23'''
  '<a>'
  '</a>'
  (i)=>
    console.log [i]
    i.trim()
)
```


输出

[→ out.txt](out.txt)

```txt
[ '\n1\n\n' ]
01<a>1</a>23
```
npm package: @iuser/sleep
Description: <!-- EDIT /Users/z/user/node/sleep/readme.md -->
Author: i@user.tax
Latest version: 0.0.2

<!-- EDIT /Users/z/user/node/sleep/readme.md -->

# @iuser/sleep

sleep for ms

## 安装

推荐用 [@antfu/ni](https://www.npmjs.com/package/@antfu/ni)

```
ni -D @iuser/sleep
```

## 使用

[→ test/index.coffee](test/index.coffee)

```coffee
#!/usr/bin/env coffee

> @iuser/sleep

await sleep 1000
console.log 1
```


输出

[→ out.txt](out.txt)

```txt
1
```
npm package: @iuser/snake
Description: <!-- EDIT /Users/z/iuser/node/snake/readme.md -->
Author: i@iuser.link
Latest version: 0.0.15

<!-- EDIT /Users/z/iuser/node/snake/readme.md -->

# @iuser/snake

## 安装

推荐用 [@antfu/ni](https://www.npmjs.com/package/@antfu/ni)

```
ni -D @iuser/snake
```

## 使用

[→ test/index.coffee](test/index.coffee)

```coffee
#!/usr/bin/env coffee

import snake from '@iuser/snake'

for i in 'i18n iI18n test-db User LIB_INDEX'.split(' ')
  console.log "#{i} → #{snake i}"
```


输出

[→ out.txt](out.txt)

```txt
i18n → i18n
iI18n → i_i18n
test-db → test_db
User → user
```
npm package: @iuser/split
Description: <!-- EDIT /Users/z/user/node/split/readme.md -->
Author: i@user.tax
Latest version: 0.0.4

<!-- EDIT /Users/z/user/node/split/readme.md -->

# @iuser/split

## 安装

推荐用 [@antfu/ni](https://www.npmjs.com/package/@antfu/ni)

```
ni -D @iuser/split
```

## 使用

[→ test/index.coffee](test/index.coffee)

```coffee
#!/usr/bin/env coffee

import {rsplit} from '@iuser/split'

console.log rsplit '1@2.com','@'

```


输出

[→ out.txt](out.txt)

```txt
[ '1', '2.com' ]
```
npm package: @iuser/strbool
Description: <!-- EDIT /Users/z/user/node/strbool/readme.md -->
Author: i@user.tax
Latest version: 0.0.2

<!-- EDIT /Users/z/user/node/strbool/readme.md -->

# @iuser/strbool

## 安装

推荐用 [@antfu/ni](https://www.npmjs.com/package/@antfu/ni)

```
ni -D @iuser/strbool
```

## 使用

[→ test/index.coffee](test/index.coffee)

```coffee
#!/usr/bin/env coffee

import strbool from '@iuser/strbool'

console.log strbool 'no'
console.log strbool '1'

```


输出

[→ out.txt](out.txt)

```txt
false
true
```
npm package: @iuser/time
Description: <!-- EDIT /Users/z/user/node/time/readme.md -->
Author: i@user.tax
Latest version: 0.0.3

<!-- EDIT /Users/z/user/node/time/readme.md -->

# @iuser/time

## 安装

推荐用 [@antfu/ni](https://www.npmjs.com/package/@antfu/ni)

```
ni -D @iuser/time
```

## 使用

[→ test/index.coffee](test/index.coffee)

```coffee
#!/usr/bin/env coffee

import {Hour,Minute,Day} from '@iuser/time'


console.log Hour(),Minute(),Day()
```


输出

[→ out.txt](out.txt)

```txt
462195 27731747 19258
```
npm package: @iuser/u8
Description: <!-- EDIT /Users/z/user/node/u8/readme.md -->
Author: i@user.tax
Latest version: 0.0.8

<!-- EDIT /Users/z/user/node/u8/readme.md -->

# @iuser/u8

## 安装

推荐用 [@antfu/ni](https://www.npmjs.com/package/@antfu/ni)

```
ni -D @iuser/u8
```

## 使用

[→ test/index.coffee](test/index.coffee)

```coffee
#!/usr/bin/env coffee

import u8 from '@iuser/u8'

for i in 'str_li str2li i18n iI18n test-db User LIB_INDEX'.split(' ')
  console.log "#{i} → #{u8 i}"
```


输出

[→ out.txt](out.txt)

```txt
str_li → str-li
str2li → str2li
i18n → i18n
iI18n → i-i18n
test-db → test-db
User → user
LIB_INDEX → lib-index
```
npm package: @iuser/utf8
Description: <!-- EDIT /Users/z/user/node/utf8/readme.md -->
Author: i@user.tax
Latest version: 0.0.2

<!-- EDIT /Users/z/user/node/utf8/readme.md -->

# @iuser/utf8

## 安装

推荐用 [@antfu/ni](https://www.npmjs.com/package/@antfu/ni)

```
ni -D @iuser/utf8
```

## 使用

[→ test/index.coffee](test/index.coffee)

```coffee
#!/usr/bin/env coffee

import {utf8d,utf8e} from '@iuser/utf8'

console.log utf8d utf8e '测试'

```


输出

[→ out.txt](out.txt)

```txt
测试
```
npm package: @iuser/verincr
Description: <!-- EDIT /Users/z/user/node/verincr/readme.md -->
Author: i@iuser.link
Latest version: 0.0.4

<!-- EDIT /Users/z/user/node/verincr/readme.md -->

# @iuser/verincr

incr version number

## 安装

推荐用 [@antfu/ni](https://www.npmjs.com/package/@antfu/ni)

```
ni -D @iuser/verincr
```

## 使用

[→ test/index.coffee](test/index.coffee)

```coffee
#!/usr/bin/env coffee

> @iuser/verincr

[
  '0.0.1'
  '0.0.9'
  '10.10.9'
  '0.9.9'
  '0.9.99'
  '0.99.99'
].forEach (i)=>
  console.log i, verincr i
  return
```


输出

[→ out.txt](out.txt)

```txt
0.0.1 0.0.2
0.0.9 0.0.10
10.10.9 10.10.10
0.9.9 0.9.10
0.9.99 0.10.0
0.99.99 1.0.0
```
npm package: @iuser/walk
Description: <!-- EDIT /Users/z/user/node/walk/readme.md -->
Author: i@user.tax
Latest version: 0.0.7

<!-- EDIT /Users/z/user/node/walk/readme.md -->

# @iuser/walk

walk directory recursive

## 安装

推荐用 [@antfu/ni](https://www.npmjs.com/package/@antfu/ni)

```
ni -D @iuser/walk
```

## 使用

[→ test/index.coffee](test/index.coffee)

```coffee
#!/usr/bin/env coffee

import walk, {walkRel} from '@iuser/walk'
import {dirname} from 'path'

{pathname} = new URL(import.meta.url)

dir = dirname dirname pathname

console.log dir

console.log '> full path'
for await i from walk(dir)
  console.log i

console.log '\n> relative path'
for await i from walkRel(
  dir
  (i)=>
    i == 'src'
)
  console.log '\t',i
```
npm package: @iuser/wasm-map
Description: <!-- 本文件由 ./readme.make.md 自动生成，请不要直接修改此文件 -->
Author: i@user.tax
Latest version: 0.0.1

<!-- 本文件由 ./readme.make.md 自动生成，请不要直接修改此文件 -->

# @rmw/utf8

wasm wrapper for wasm-set

see https://lib.rs/crates/wasm-set


## wasm-set

Short text compression algorithm for utf-8 (optimized for Chinese , developed based on rust programming language).

面向utf-8的短文本压缩算法（为中文压缩优化，基于rust编程语言开发）。



##  安装

```
yarn add @rmw/utf8
```

或者

```
npm install @rmw/utf8
```

## 使用

```
#!/usr/bin/env coffee

import {encode, encode_bin, decode} from './pkg'

t = encode 'test'
console.log t
console.log decode t

t = encode_bin Buffer.from('test')
console.log t
console.log decode t
```

## 关于

本项目隶属于**人民网络([rmw.link](//rmw.link))** 代码计划。

![人民网络](https://raw.githubusercontent.com/rmw-link/logo/master/rmw.red.bg.svg)
npm package: @iuser/wasm-set
Description: <!-- 本文件由 ./readme.make.md 自动生成，请不要直接修改此文件 -->
Author: i@rmw.link
Latest version: 0.0.8

<!-- 本文件由 ./readme.make.md 自动生成，请不要直接修改此文件 -->

# @rmw/utf8

wasm wrapper for wasm-set

see https://lib.rs/crates/wasm-set


## wasm-set

Short text compression algorithm for utf-8 (optimized for Chinese , developed based on rust programming language).

面向utf-8的短文本压缩算法（为中文压缩优化，基于rust编程语言开发）。



##  安装

```
yarn add @rmw/utf8
```

或者

```
npm install @rmw/utf8
```

## 使用

```
#!/usr/bin/env coffee

import {encode, encode_bin, decode} from './pkg'

t = encode 'test'
console.log t
console.log decode t

t = encode_bin Buffer.from('test')
console.log t
console.log decode t
```

## 关于

本项目隶属于**人民网络([rmw.link](//rmw.link))** 代码计划。

![人民网络](https://raw.githubusercontent.com/rmw-link/logo/master/rmw.red.bg.svg)
npm package: @iuser/write
Description: <!-- EDIT /Users/z/user/node/write/readme.md -->
Author: i@user.tax
Latest version: 0.0.7

<!-- EDIT /Users/z/user/node/write/readme.md -->

# @iuser/write

create directory recursive then write file 

## 安装

推荐用 [@antfu/ni](https://www.npmjs.com/package/@antfu/ni)

```
ni -D @iuser/write
```

## 使用

[→ test/index.coffee](test/index.coffee)

```coffee
#!/usr/bin/env coffee

> @iuser/write
  path > join dirname

{pathname} = new URL(import.meta.url)

dir = dirname pathname

write join(dir,'1/2/3.log'), 'test'
```
npm package: @iuser/xxhash3-wasm
Description: <!-- 本文件由 ./readme.make.md 自动生成，请不要直接修改此文件 -->
Author: i@rmw.link
Latest version: 0.0.14

<!-- 本文件由 ./readme.make.md 自动生成，请不要直接修改此文件 -->

# @rmw/utf8

wasm wrapper for xxhash3-wasm

see https://lib.rs/crates/xxhash3-wasm


## xxhash3-wasm

Short text compression algorithm for utf-8 (optimized for Chinese , developed based on rust programming language).

面向utf-8的短文本压缩算法（为中文压缩优化，基于rust编程语言开发）。



##  安装

```
yarn add @rmw/utf8
```

或者

```
npm install @rmw/utf8
```

## 使用

```
#!/usr/bin/env coffee

import {encode, encode_bin, decode} from './pkg'

t = encode 'test'
console.log t
console.log decode t

t = encode_bin Buffer.from('test')
console.log t
console.log decode t
```

## 关于

本项目隶属于**人民网络([rmw.link](//rmw.link))** 代码计划。

![人民网络](https://raw.githubusercontent.com/rmw-link/logo/master/rmw.red.bg.svg)
npm package: @iuser/zig
Description: a fast integer compression library in JavaScript
Author: Daniel Lemire
Latest version: 0.0.7

# @iuser/zig : fork of FastIntegerCompression

This is an integer compression library in JavaScript, useful for work on indexes.
Given an array of small integers, it produces an ArrayBuffer that uses far fewer bytes
than the original (using VByte compression). It assumes a modern JavaScript engine with
typed arrays.

From the compressed data, you can later recover the original  array quickly 
(at a rate of millions of integers per second).

By default, non-negative 32-bit integers are expected. If you have signed (negative and positive) 32-bit integers, then you must use distinct functions since we need to code the sign bit:

> ./unit/basictests.js

You can install the library under node with the command line
```bash
ni @iuser/zig
```

This code is made available under the Apache License 2.0.

## Suitability 

This library is meant to compress arrays of small integers. It is not meant to
compress text documents or arrays of large (or random) integers.

## Performance numbers

Go to benchmark repository (check the README.md file) and run the benchmark:

```bash
$ node test.js
Platform: linux 3.13.0-91-generic x64
Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
Node version 4.5.0, v8 version 4.5.103.37

input size: 7.813K compressed size: 1000B
FastIntegerCompression.compress x 337,845 ops/sec ±0.93% (92 runs sampled)
Fastest is FastIntegerCompression.compress
FastIntegerCompression.uncompress x 187,694 ops/sec ±0.72% (93 runs sampled)
Fastest is FastIntegerCompression.uncompress
```

These numbers means that we can uncompress 187,694 1000-integer arrays per second.
That's 187 millions of integers per second.

## You might also like...

If you like this library, you might also like 
- https://github.com/lemire/FastPriorityQueue.js
- https://github.com/lemire/StablePriorityQueue.js
- https://github.com/lemire/FastBitSet.js
npm package: @iuser/zipint
Description: <!-- EDIT /Users/z/user/node/zipint/readme.md -->
Author: i@user.tax
Latest version: 0.0.1

<!-- EDIT /Users/z/user/node/zipint/readme.md -->

# @iuser/zipint

## 安装

推荐用 [@antfu/ni](https://www.npmjs.com/package/@antfu/ni)

```
ni -D @iuser/zipint
```

## 使用

[→ test/index.coffee](test/index.coffee)

```coffee
#!/usr/bin/env coffee

import {zipint,unzipint} from '@iuser/zipint'

console.log zipint [999,2,3]
console.log unzipint zipint [999,2,3]

```


输出

[→ out.txt](out.txt)

```txt
Uint8Array(4) [ 231, 7, 2, 3 ]
[ 999, 2, 3 ]
```