Skip to content
Sections
>> Trisquel >> 套件 >> aramo >> web >> node-levn
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: node-levn  ]

套件: node-levn (0.4.1+dfsg-2)

Light ECMAScript (JavaScript) Value Notation

Levn is a library which allows you to parse a string into a JavaScript value based on an expected type. It is meant for short amounts of human entered data (eg. config files, command line arguments).

Levn aims to concisely describe JavaScript values in text, and allow for the extraction and validation of those values. Levn uses 'type-check' for its type format, and to validate the results.

How is this different than JSON? levn is meant to be written by humans only, is (due to the previous point) much more concise, can be validated against supplied types, has regex and date literals, and can easily be extended with custom types. On the other hand, it is probably slower and thus less efficient at transporting large amounts of data, which is fine since this is not its purpose.

Node.js is an event-based server-side JavaScript engine.

其他與 node-levn 有關的套件

  • 依賴
  • 推薦
  • 建議

下載 node-levn

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 10.1 kB30 kB [文件列表]