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

0.0.14 • Public • Published

ice-engine

Ice Engine is an experimental, lightweight and ultra high performance XML parsing TypeScript engine, implementing regex-free, tokenizing tree builder and output formatter.

Getting started

Installation

Add ice-engine to the dependencies of your package.json, or hit:

yarn add ice-engine

Don't forget to run yarn after updating the package.json file.

Integration

import { Parser as Ice } from 'ice-engine';

const nodes = Ice.fromXml(
  '<node id="1">' +
  'This is a text node.' +
  '<void id="2" />' +
  'This is an another text node.' +
  '</node>');
const source = Ice.toXml(nodes);

License

MIT

Package Sidebar

Install

npm i ice-engine

Weekly Downloads

5

Version

0.0.14

License

MIT

Unpacked Size

110 kB

Total Files

22

Last publish

Collaborators

  • bl4ym1st