zswang / termstring

The termstring module provides utilities for parsing and formatting term strings.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

termstring 条件字符串处理

NPM version Build Status Coverage Status

背景

生成比较直观的键值字符串用。

示例

转换前

termstring.stringify(
  {
    "a": 1,
    "b": 2,
    "c": 3,
  }
);

转换后

"[a]1[b]2[c]3"

License

MIT © zswang

About

The termstring module provides utilities for parsing and formatting term strings.


Languages

Language:JavaScript 100.0%