1.1.2 • Published 5 years ago

fisea v1.1.2

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

fisea

github npm:version typescript ci:status document:typedoc license browserslist code style:prettier

Usage

/** to prepare of using this
 *
 * ```bash
 * yarn add fisea
 * ```
 */
import {parse, format} from 'fisea';

or

<script src="https://unpkg.com/fisea/fisea.js"></script>
<script>
  // Can use the `fisea` here.
</script>

Example by TypeScript

console.log(parse('foo:foo bar:bar bar-baz:"bar baz" hoge'));
// {foo:["foo"], bar:["bar"], "bar-baz":["bar baz"], barBaz:["bar baz"], _:["hoge"]}

console.log(
  fisea.format({
    foo: ['foo'],
    bar: ['bar'],
    'bar-baz': ['bar baz'],
    barBaz: ['bar baz'],
    _: ['hoge'],
  }),
);
// 'foo:foo bar:bar bar-baz:"bar baz" hoge'

Edit fisea

1.1.2

5 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.0.1

7 years ago