open-index/open-npm huggingface dataset:
npm package: @smartface/transpiler
Description: smartface transpiler
Author: Smartface
Latest version: 8.0.0-rc.12


     ,-----.,--.                  ,--.   ____                       _    __                     
    '  .--./|  | ,---. ,--.,--. ,-|  |  / ___| _ __ ___   __ _ _ __| |_ / _| __ _  ___ ___    
    |  |    |  || .-. ||  ||  |' .-. |  \___ \| '_ ` _ \ / _` | '__| __| |_ / _` |/ __/ _ \  
    '  '--'\|  |' '-' ''  ''  '\ `-' |   ___) | | | | | | (_| | |  | |_|  _| (_| | (_|  __/ 
     `-----'`--' `---'  `----'  `---'   |____/|_| |_| |_|\__,_|_|   \__|_|  \__,_|\___\___| 
    ----------------------------------------------------------------------------------------

Welcome to Smartface cid-demo-transpiler

# Installation

    npm i -g --production

# Example Usage.

  You can generate js files with smfcTranspiler.
  
    USAGE: smfcTranspiler [options]
    
    smfcTranspiler  --pgxFolder [PGX-PATH] --scriptsFolder [GENERATED-JS-PATH]
    
    --pgxFolder: Must be absolute path
    --scriptsFolder: Must be absolute path
npm package: @smartface/x2js
Description: Transforms between XML string and JavaScript object trees.
Author: Axinom
Latest version: 3.1.1

# x2js

This is a library that converts between XML and JavaScript objects.
The conversion is not necessarily lossless but it is very convenient.

[![npm version](https://badge.fury.io/js/x2js.svg)](https://badge.fury.io/js/x2js)

master | development
------ | -----------
[![Build Status](https://travis-ci.org/Axinom/x2js.svg?branch=master)](https://travis-ci.org/Axinom/x2js) | [![Build Status](https://travis-ci.org/Axinom/x2js.svg?branch=development)](https://travis-ci.org/Axinom/x2js)

# Integration

The code is all contained within the `x2js.js` file, so you can include it directly
via a script tag. It will create `window.X2JS`, which is a constructor that can be
used to create instances of the converter, providing an optional configuration object.

In a Node app, `require("x2js")` will give you the constructor that you can use the same way.

Loading via AMD-capable loaders (e.g. require.js) is also supported and works equivalently.

The `xmldom` package is a dependency but it is only used under Node, as in browsers the browser DOM is used.

# Quick start

	var x2js = new X2JS();
	var document = x2js.xml2js(xml);

	console.log(document.MyRootElement.ElementX[1].toString());

	var xml = x2js.js2xml(document);
	console.log(xml);

See the type definitions within `x2js.d.ts` for information about what configuration options you can pass.

# Automated tests

A set of QUnit test cases are part of the project and act as the primary usage examples.

Run `karma start --single run` to test with Chrome, Firefox and IE.
Run `node_modules\.bin\qunit-cli all_tests.js` to test with the Node runtime.
Run `npm test` to execute both sets of tests.

Travis CI uses `npm travistest` to run tests using Firefox via Karma and Node.

# Contributing

Contributions are welcome! To ensure speedy merges, please:

* base any pull requests on the **development** branch.
* ensure that the code passes ESLint validation with the included ruleset.