jsserializer-ini

1.0.0-alpha.1 • Public • Published

jsserializer-ini

NPM version Build Status Coverage Status

A jsserializer adapter for ini

Example

// import the adapter
import ini from 'jsserializer-ini';
// import this library
import serializer from 'jsserializer';
// load in the adapter
let service = serializer(ini);
// provide the serializer options
let options = {};
// serialize
let obj = service.parse(`
[root.child]
value=123`,
  options
);
let str = service.stringify(obj, options);

Install

NPM

npm install --save jsserializer jsserializer-ini

API

Property type params Description
extensions getter string[]
parse function (source: string, options: Object)
stringify function (source: Object, options: string)

License

Copyright (c) 2016 https://github.com/orgs/jsserializers/people. All rights reserved.

Licensed under the MIT License. See LICENSE in the project root for license information.

Package Sidebar

Install

npm i jsserializer-ini

Weekly Downloads

2

Version

1.0.0-alpha.1

License

MIT

Last publish

Collaborators

  • pflannery