dson-djs

DSON parser in Dogescript

Usage no npm install needed!

<script type="module">
  import dsonDjs from 'https://cdn.skypack.dev/dson-djs';
</script>

README

DSON.djs

NPM

A DSON parser in Dogescript. What am I doing?!

Work in progress. It mostly works, but there are probably some edge cases still.

Install

If you're using Node/Browserify:

npm install dson-djs
var DSON = require('dson-djs')

Otherwise, just add the build/DSON.js file to your page, and use the new global variable DSON.

Usage

  • DSON.parse(str) - Parses a string of DSON into a JSON object
  • DSON.dogeify(obj) - Converts an object into a DSON string