@yellowdig/cljs-tools

0.2.0 • 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

Readme

Keywords

Package Sidebar

Install

npm i @yellowdig/cljs-tools

Weekly Downloads

236

Version

0.2.0

License

MIT

Unpacked Size

106 MB

Total Files

170

Last publish

Collaborators

  • bhurlow