Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

@yellowdig/cljs-tools

0.1.1 • Public • Published

cljs-tools

cljs-tools is a javascript package which exposes various useful clojurescript functions and utilities. cljs-tools provides a commonjs module with the following exported namespaces:

  • edn
    • encode()
    • decode()

clojurescript version: 1.10.238

EDN

encode/decode

encode(jsData, <keywordize?>)
decode(jsData, <keywordize?>)
const { encode, decode } = require('@yellowdig/cljs-tools').edn
 
encode({ foo: ':bar'})
=> {"foo" ":bar"}
 
 
encode({ foo: ':bar'}, true)
=> {"foo" :bar}
 

© Yellowdig 2018 // yellowdig.com

Install

npm i @yellowdig/cljs-tools

DownloadsWeekly Downloads

120

Version

0.1.1

License

MIT

Unpacked Size

231 kB

Total Files

10

Last publish

Collaborators

  • avatar