Skip to content
Sections
>> Trisquel >> Pakiety >> nabia >> web >> node-levn
etiona  ] [  nabia  ] [  aramo  ]
[ Pakiet źródłowy: node-levn  ]

Pakiet: node-levn (0.3.0+dfsg-4)

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.

Inne pakiety związane z node-levn

  • wymaga
  • poleca
  • sugeruje
  • dep: node-prelude-ls
    functionally oriented utility library
  • dep: node-type-check
    allows you to check the types of JavaScript values at runtime
  • dep: nodejs
    evented I/O for V8 javascript - runtime executable
    również pakiet wirtualny udostępniany przez node-pegjs

Pobieranie node-levn

Pobierz dla wszystkich dostępnych architektur
Architektura Rozmiar pakietu Rozmiar po instalacji Pliki
all 9,8 KiB29 KiB [lista plików]