fisea
TypeScript icon, indicating that this package has built-in type declarations

1.1.2 • Public • Published

fisea

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

Usage

/** to prepare of using this
 *
 * ```sh
 * 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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.2
    3
    • latest

Version History

Package Sidebar

Install

npm i fisea

Weekly Downloads

3

Version

1.1.2

License

MIT

Unpacked Size

25.5 kB

Total Files

30

Last publish

Collaborators

  • nju33