/ass-serialize

serialize json to ass

Primary LanguageJavaScriptMIT LicenseMIT

ASS-Serialize

Serialize json to ass format

install

npm install --save ass-serialize

or

yarn add ass-serialize

usage

ECMAScript 6 usage:

import AssSerialize from 'ass-serialize'

let ass = AssSerialize.serialize(json)

ECMAScript 5 usage:

var AssSerialize = require('ass-serialize').default

let ass = AssSerialize.serialize(json)

test

npm test

Thanks to this article to guide me how to configure the test environment

publish to npm registry

Thanks to this answer to help me publish a ES 6 package.

npm run prepublish
npm publish

Credits

Thanks to this link to helped me how to write markdown