【文件属性】:
文件名称:jjo:一个用于创建JSON对象的小实用程序,为Node.js编写
文件大小:64KB
文件格式:ZIP
更新时间:2021-05-17 05:06:22
TypeScript
jo
jjo是一个受和启发而创建的JSON对象的小实用程序。
我想出了为什么不同时为node.js添加Javascript版本。
如何安装
npm install -g jjo
用法
Usage: jjo [options] [items...]
a small utility to create JSON objects
Options:
-V, --version output the version number
-a, --array create a json array
-h, --help output usage information
例子
创建对象
jjo number=123 float=123.12 string= " this is a string " otherstring=foobar object={ \" a \" :t
【文件预览】:
jjo-master
----.travis.yml(34B)
----package.json(1018B)
----tslint.json(149B)
----.github()
--------workflows()
----jest.config.js(130B)
----LICENSE(1KB)
----package-lock.json(217KB)
----tsconfig.json(5KB)
----.gitignore(42B)
----lib()
--------jjo.ts(1KB)
--------index.test.ts(2KB)
--------__fixtures__()
--------index.ts(2KB)
----README.md(3KB)