open-index/open-npm huggingface dataset:
npm package: @jdinsel-xealth/bunyan-lens-ext
Description: A bunyan log viewer for Lens
Latest version: 0.1.0

# bunyan-lens-ext README

The bunyan-lens-ext provides a bunyan log viewer for Lens. Inspiration came from
the [lens-mutli-pod-logs](https://github.com/andrea-falco/lens-multi-pod-logs) extension.

## Features

This plugin adds a menu item to the Pods menu in Lens.  When clicked, it will open a new terminal with the bunyan log viewer.

## Requirements

Install bunyan globally:

```bash
npm install -g bunyan
```

## Installation Instructions

Start the Lens is running, and follow these simple steps:

1. Go to Extensions view (Menu -> File -> Extensions)
2. Enter the name of this extension, `@jdinsel-xealth/bunyan-lens-ext`
3. Click on the Install button
4. Make sure the extension is enabled (Lens → Extensions)

You may or may not need to refresh (or re-open) Lens for the plugin to render
the menu item. This may be necessary if Lens is already open on the Pods workload.

## Known Issues

On initial install, the bunyan log viewer may not appear in the menu. If this
occurs, refresh Lens and it should appear.

## Release Notes

Enjoy!

### 0.0.1

Initial release of the bunyan-lens-ext contains minimal functionality and allows
for the viewing of Logs through the use of the `bunyan` command line tool.
npm package: @jdion/tilt-react
Description: Tilt for React JS
Author: Jonathan Dion
Latest version: 1.0.0

<h1 align="center">
tilt-react 🪄
</h1>
<h4 align="center">
A tiny requestAnimationFrame powered 60+fps lightweight parallax hover tilt effect for React.
</h4>
<p align="center" style="text-align: center;">
<a href="https://www.npmjs.com/package/react-tilt"><img src="https://img.shields.io/npm/dw/react-tilt" alt="react-tilt downloads"></a>
<a href="https://www.npmjs.com/package/react-tilt"><img src="https://img.shields.io/npm/v/react-tilt" alt="react-tilt version"></a>
<a href="https://twitter.com/@0xjdion"><img src="https://img.shields.io/twitter/url/https/twitter.com/blueaquilae.svg?style=social&amp;label=Follow%20%400xjdion" alt="Jonathan Dion Twitter"></a>
</p>

![react-tilt demo gif](https://github.com/jonathandion/react-tilt/blob/master/demo.gif)

## Demo

- [Reddit NFTs](https://nft.reddit.com/)
- [VX Demo](https://vx-demo.now.sh/gallery)

## Install

```bash
pnpm add react-tilt react react-dom
# or
npm install react-tilt react react-dom
# or
yarn add react-tilt react react-dom
```

## Usage

```tsx
import { Tilt } from '@jdion/tilt-react'

const defaultOptions = {
  reverse: false, // reverse the tilt direction
  max: 35, // max tilt rotation (degrees)
  perspective: 1000, // Transform perspective, the lower the more extreme the tilt gets.
  scale: 1.1, // 2 = 200%, 1.5 = 150%, etc..
  speed: 1000, // Speed of the enter/exit transition
  transition: true, // Set a transition on enter/exit.
  axis: null, // What axis should be disabled. Can be X or Y.
  reset: true, // If the tilt effect has to be reset on exit.
  easing: 'cubic-bezier(.03,.98,.52,.99)', // Easing on enter/exit.
}

const App = () => {
  return (
    <Tilt options={defaultOptions} style={{ height: 250, width: 250 }}>
      <div>👽</div>
    </Tilt>
  )
}
```

## Props

| Property         | Signature           | 
| -------------    |:-------------:|
| onMouseEnter     | (event: React.SyntheticEvent) -> void  |
| onMouseMove      | (event: React.SyntheticEvent) -> void  |
| onMouseLeave     | (event: React.SyntheticEvent) -> void  |
| options          | Options    |

## Alternatives

- **JQuery JS version:** https://github.com/gijsroge/tilt.js
- **Vanilla JS version:** https://github.com/micku7zu/vanilla-tilt.js

### Check Also

- [Web Configs](https://github.com/jonathandion/web-configs) - Monorepo for all common configurations for building web apps.
- [My Neovim Config](https://github.com/jonathandion/web-dev.nvim) - Small Neovim configuration written in Lua that is specifically designed for web development.
npm package: @jdists/art-template
Description: artTemplate as jdists processor
Author: zswang
Latest version: 0.0.4

# @jdists/art-template

art-template as jdists processor

[![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coverage Status][coverage-image]][coverage-url]

* @see [jdists](https://github.com/zswang/jdists)

* @see [art-template](https://github.com/aui/art-template)

## Example

```html
<!--data>
kids:
  - name: Jimmy
    age: '12'
  - name: Sally
    age: '4'
</data-->

<!--jdists encoding="art-template" data="?data"-->
<ul>
  {{each kids item}}
  <li>{{item.name}} is {{item.age}}</li>
  {{/each}}
</ul>
<!--/jdists-->

<!--art-template data="?data"-->
<ul>
  {{each kids item}}
  <li>{{item.name}} is {{item.age}}</li>
  {{/each}}
</ul>
<!--/art-template-->
```

## License

MIT © [zswang](http://weibo.com/zswang)

[npm-url]: https://badge.fury.io/js/%40jdists%2Fart-template
[npm-image]: https://badge.fury.io/js/%40jdists%2Fart-template.svg
[travis-url]: https://travis-ci.org/jdists/art-template
[travis-image]: https://travis-ci.org/jdists/art-template.svg?branch=master
[coverage-url]: https://coveralls.io/github/jdists/art-template?branch=master
[coverage-image]: https://coveralls.io/repos/jdists/art-template/badge.svg?branch=master&service=github
npm package: @jdists/csv
Description: csv as jdists processor
Author: zswang
Latest version: 0.0.23

# @jdists/csv

csv as jdists processor

[![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coverage Status][coverage-image]][coverage-url]

* @see [jdists](https://github.com/zswang/jdists)

* @see [csv-parse](https://github.com/adaltas/node-csv-parse)

## Example

```js
/*<jdists encoding="csv">*/
name, age
Jason, 20
Tom, 17
/*</jdists>*/

/*<csv>*/
name, age
Jason, 20
Tom, 17
/*</csv>*/
```

## License

MIT © [zswang](http://weibo.com/zswang)

[npm-url]: https://badge.fury.io/js/%40jdists%2Fcsv
[npm-image]: https://badge.fury.io/js/%40jdists%2Fcsv.svg
[travis-url]: https://travis-ci.org/jdists/csv
[travis-image]: https://travis-ci.org/jdists/csv.svg?branch=master
[coverage-url]: https://coveralls.io/github/jdists/csv?branch=master
[coverage-image]: https://coveralls.io/repos/jdists/csv/badge.svg?branch=master&service=github
npm package: @jdists/dot
Description: doT as jdists processor
Author: zswang
Latest version: 0.0.2

# @jdists/dot

doT as jdists processor

[![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coverage Status][coverage-image]][coverage-url]

* @see [jdists](https://github.com/zswang/jdists)

* @see [doT](https://github.com/olado/doT)

## License

MIT © [zswang](http://weibo.com/zswang)

[npm-url]: https://badge.fury.io/js/%40jdists%2Fdot
[npm-image]: https://badge.fury.io/js/%40jdists%2Fdot.svg
[travis-url]: https://travis-ci.org/jdists/dot
[travis-image]: https://travis-ci.org/jdists/dot.svg?branch=master
[coverage-url]: https://coveralls.io/github/jdists/dot?branch=master
[coverage-image]: https://coveralls.io/repos/jdists/dot/badge.svg?branch=master&service=github
npm package: @jdists/ejs
Description: ejs as jdists processor
Author: zswang
Latest version: 0.0.5

# @jdists/ejs

ejs as jdists processor

[![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coverage Status][coverage-image]][coverage-url]

* @see [jdists](https://github.com/zswang/jdists)

* @see [ejs](https://github.com/mde/ejs)

## Example

```html
<!--data>
kids:
  - name: Jimmy
    age: '12'
  - name: Sally
    age: '4'
</data-->

<!--jdists encoding="ejs" data="?data"-->
<ul>
<% kids.forEach((item) => { %>
  <li><%= item.name %> - <%= item.age %></li>
<% }) %>
</ul>
<!--/jdists-->

<!--ejs data="?data"-->
<ul>
<% kids.forEach((item) => { %>
  <li><%= item.name %> - <%= item.age %></li>
<% }) %>
</ul>
<!--/ejs-->
```

## License

MIT © [zswang](http://weibo.com/zswang)

[npm-url]: https://badge.fury.io/js/%40jdists%2Fejs
[npm-image]: https://badge.fury.io/js/%40jdists%2Fejs.svg
[travis-url]: https://travis-ci.org/jdists/ejs
[travis-image]: https://travis-ci.org/jdists/ejs.svg?branch=master
[coverage-url]: https://coveralls.io/github/jdists/ejs?branch=master
[coverage-image]: https://coveralls.io/repos/jdists/ejs/badge.svg?branch=master&service=github
npm package: @jdists/exec
Description: exec as jdists processor
Author: zswang
Latest version: 0.0.7

# @jdists/exec

exec as jdists processor

[![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coverage Status][coverage-image]][coverage-url]

* @see [jdists](https://github.com/zswang/jdists)

* @see [exec](https://nodejs.org/api/child_process.html#child_process_child_process_execfile_file_args_options_callback)

## example

```js
/*<jdists encoding="exec">*/
ls -l
/*</jdists>*/
```

```js
/*<exec>ls -l</exec>*/
```

## License

MIT © [zswang](http://weibo.com/zswang)

[npm-url]: https://badge.fury.io/js/%40jdists%2Fexec
[npm-image]: https://badge.fury.io/js/%40jdists%2Fexec.svg
[travis-url]: https://travis-ci.org/jdists/exec
[travis-image]: https://travis-ci.org/jdists/exec.svg?branch=master
[coverage-url]: https://coveralls.io/github/jdists/exec?branch=master
[coverage-image]: https://coveralls.io/repos/jdists/exec/badge.svg?branch=master&service=github
npm package: @jdists/glob
Description: glob as jdists processor
Author: zswang
Latest version: 0.0.2

# @jdists/glob

glob as jdists processor

[![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coverage Status][coverage-image]][coverage-url]

* @see [jdists](https://github.com/zswang/jdists)

* @see [glob](https://github.com/isaacs/node-glob)

## License

MIT © [zswang](http://weibo.com/zswang)

[npm-url]: https://badge.fury.io/js/%40jdists%2Fglob
[npm-image]: https://badge.fury.io/js/%40jdists%2Fglob.svg
[travis-url]: https://travis-ci.org/jdists/glob
[travis-image]: https://travis-ci.org/jdists/glob.svg?branch=master
[coverage-url]: https://coveralls.io/github/jdists/glob?branch=master
[coverage-image]: https://coveralls.io/repos/jdists/glob/badge.svg?branch=master&service=github
npm package: @jdists/handlebars
Description: handlebars as jdists processor
Author: zswang
Latest version: 0.0.6

# @jdists/handlebars

handlebars as jdists processor

[![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coverage Status][coverage-image]][coverage-url]

* @see [jdists](https://github.com/zswang/jdists)

* @see [handlebars](https://github.com/wycats/handlebars.js)

## Example

```html
<!--data>
kids:
  - name: Jimmy
    age: '12'
  - name: Sally
    age: '4'
</data-->

<!--jdists encoding="handlebars" data="?data"-->
<ul>
  {{#kids}}
  <li>{{name}} is {{age}}</li>
  {{/kids}}
</ul>
<!--/jdists-->

<!--extend>
require('handlebars-helpers')({
  handlebars: handlebars
})
</extend-->

<!--handlebars data="?data" extend="?extend"-->
<ul>
  {{#kids}}
  <li>{{name}} is {{toFixed age 2}}</li>
  {{/kids}}
</ul>
<!--/handlebars-->
```

## License

MIT © [zswang](http://weibo.com/zswang)

[npm-url]: https://badge.fury.io/js/%40jdists%2Fhandlebars
[npm-image]: https://badge.fury.io/js/%40jdists%2Fhandlebars.svg
[travis-url]: https://travis-ci.org/jdists/handlebars
[travis-image]: https://travis-ci.org/jdists/handlebars.svg?branch=master
[coverage-url]: https://coveralls.io/github/jdists/handlebars?branch=master
[coverage-image]: https://coveralls.io/repos/jdists/handlebars/badge.svg?branch=master&service=github
npm package: @jdists/jhtmls
Description: jhtmls as jdists processor
Author: zswang
Latest version: 0.0.7

# @jdists/jhtmls

jhtmls as jdists processor

[![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coverage Status][coverage-image]][coverage-url]

* @see [jdists](https://github.com/zswang/jdists)

* @see [jhtmls](https://github.com/zswang/jhtmls)

## Example

```html
<!--data>
kids:
  - name: Jimmy
    age: '12'
  - name: Sally
    age: '4'
</data-->

<!--jdists encoding="jhtmls" data="?data"-->
<ul>
kids.forEach((item) => {
  <li>#{item.name} - #{item.age}</li>
})
</ul>
<!--/jdists-->

<!--jhtmls data="?data"-->
<ul>
kids.forEach((item) => {
  <li>#{item.name} - #{item.age}</li>
})
</ul>
<!--/jhtmls-->
```

## License

MIT © [zswang](http://weibo.com/zswang)

[npm-url]: https://badge.fury.io/js/%40jdists%2Fjhtmls
[npm-image]: https://badge.fury.io/js/%40jdists%2Fjhtmls.svg
[travis-url]: https://travis-ci.org/jdists/jhtmls
[travis-image]: https://travis-ci.org/jdists/jhtmls.svg?branch=master
[coverage-url]: https://coveralls.io/github/jdists/jhtmls?branch=master
[coverage-image]: https://coveralls.io/repos/jdists/jhtmls/badge.svg?branch=master&service=github
npm package: @jdists/jphps
Description: jphps as jdists processor
Author: zswang
Latest version: 0.0.1

# @jdists/jphps

jphps as jdists processor

[![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coverage Status][coverage-image]][coverage-url]

* @see [jdists](https://github.com/zswang/jdists)

* @see [jphps](https://github.com/zswang/jphps)

## Example

```html
<!--jdists encoding="jphps"-->
if (!empty($a)) {
  <p>#{$a}</p>
}
<!--/jdists-->

<!--jphps-->
if (!empty($a)) {
  <p>#{$a}</p>
}
<!--/jphps-->
```

## License

MIT © [zswang](http://weibo.com/zswang)

[npm-url]: https://badge.fury.io/js/%40jdists%2Fjphps
[npm-image]: https://badge.fury.io/js/%40jdists%2Fjphps.svg
[travis-url]: https://travis-ci.org/jdists/jphps
[travis-image]: https://travis-ci.org/jdists/jphps.svg?branch=master
[coverage-url]: https://coveralls.io/github/jdists/jphps?branch=master
[coverage-image]: https://coveralls.io/repos/jdists/jphps/badge.svg?branch=master&service=github
npm package: @jdists/less
Description: less as jdists processor
Author: zswang
Latest version: 0.0.1

# @jdists/less

less as jdists processor

[![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coverage Status][coverage-image]][coverage-url]

* @see [jdists](https://github.com/zswang/jdists)

* @see [less](https://github.com/less/less.js)

## Example

```html
<!--jdists encoding="less"-->
@base: #f938ab;
div {
  color: @base;
}
<!--/jdists-->

<!--less-->
@base: #f938ab;
div {
  color: @base;
}
<!--/less-->
```

## License

MIT © [zswang](http://weibo.com/zswang)

[npm-url]: https://badge.fury.io/js/%40jdists%2Fless
[npm-image]: https://badge.fury.io/js/%40jdists%2Fless.svg
[travis-url]: https://travis-ci.org/jdists/less
[travis-image]: https://travis-ci.org/jdists/less.svg?branch=master
[coverage-url]: https://coveralls.io/github/jdists/less?branch=master
[coverage-image]: https://coveralls.io/repos/jdists/less/badge.svg?branch=master&service=github
npm package: @jdists/mustache
Description: mustache as jdists processor
Author: zswang
Latest version: 0.0.3

# @jdists/mustache

mustache as jdists processor

[![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coverage Status][coverage-image]][coverage-url]

* @see [jdists](https://github.com/zswang/jdists)

* @see [mustache](https://github.com/janl/mustache.js)

## Example

```html
<!--data>
kids:
  - name: Jimmy
    age: '12'
  - name: Sally
    age: '4'
</data-->

<!--jdists encoding="mustache" data="?data"-->
<ul>
  {{#kids}}
  <li>{{name}} is {{age}}</li>
  {{/kids}}
</ul>
<!--/jdists-->

<!--mustache data="?data"-->
<ul>
  {{#kids}}
  <li>{{name}} is {{age}}</li>
  {{/kids}}
</ul>
<!--/mustache-->
```

## License

MIT © [zswang](http://weibo.com/zswang)

[npm-url]: https://badge.fury.io/js/%40jdists%2Fmustache
[npm-image]: https://badge.fury.io/js/%40jdists%2Fmustache.svg
[travis-url]: https://travis-ci.org/jdists/mustache
[travis-image]: https://travis-ci.org/jdists/mustache.svg?branch=master
[coverage-url]: https://coveralls.io/github/jdists/mustache?branch=master
[coverage-image]: https://coveralls.io/repos/jdists/mustache/badge.svg?branch=master&service=github
npm package: @jdists/pug
Description: pug as jdists processor
Author: zswang
Latest version: 0.0.6

# @jdists/pug

pug as jdists processor

[![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coverage Status][coverage-image]][coverage-url]

* @see [jdists](https://github.com/zswang/jdists)

* @see [pug](https://github.com/pugjs/pug)

## Example

```html
<!--data>
kids:
  - name: Jimmy
    age: '12'
  - name: Sally
    age: '4'
</data-->

<!--jdists encoding="pug" data="?data"-->
ul
  each item in kids
    li= item.name + '-' + item.age
<!--/jdists-->

<!--pug data="?data"-->
ul
  each item in kids
    li= item.name + '-' + item.age
<!--/pug-->
```

## License

MIT © [zswang](http://weibo.com/zswang)

[npm-url]: https://badge.fury.io/js/%40jdists%2Fpug
[npm-image]: https://badge.fury.io/js/%40jdists%2Fpug.svg
[travis-url]: https://travis-ci.org/jdists/pug
[travis-image]: https://travis-ci.org/jdists/pug.svg?branch=master
[coverage-url]: https://coveralls.io/github/jdists/pug?branch=master
[coverage-image]: https://coveralls.io/repos/jdists/pug/badge.svg?branch=master&service=github
npm package: @jdists/request
Description: request as jdists processor
Author: zswang
Latest version: 0.0.1

# @jdists/request

request as jdists processor

[![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coverage Status][coverage-image]][coverage-url]

* @see [jdists](https://github.com/zswang/jdists)

* @see [request](https://github.com/request/request)

## Example

```html
<!--jdists encoding="request" url="http://localhost:18081/"-->
user: zswang
city: beijing
<!--/jdists-->

<!--request url="http://localhost:18081/"-->
user: zswang
city: beijing
<!--/request-->
```

## License

MIT © [zswang](http://weibo.com/zswang)

[npm-url]: https://badge.fury.io/js/%40jdists%2Frequest
[npm-image]: https://badge.fury.io/js/%40jdists%2Frequest.svg
[travis-url]: https://travis-ci.org/jdists/request
[travis-image]: https://travis-ci.org/jdists/request.svg?branch=master
[coverage-url]: https://coveralls.io/github/jdists/request?branch=master
[coverage-image]: https://coveralls.io/repos/jdists/request/badge.svg?branch=master&service=github
npm package: @jdists/svgo
Description: svgo as jdists processor
Author: zswang
Latest version: 0.0.1

# @jdists/svgo

svgo as jdists processor

[![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coverage Status][coverage-image]][coverage-url]

* @see [jdists](https://github.com/zswang/jdists)

* @see [svgo](https://github.com/svg/svgo)

## Example

```html
<!--jdists encoding="svgo"-->
<svg width='200' height='200' fill="#000000" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" x="0px" y="0px">
  <title>Bean bag</title>
  <g data-name="Layer 2">
    <g data-name="Layer 1">
      <path d="M15.07,7.28c-.39-.35-.8-.72-1.22-1.13A8.9,8.9,0,0,1,12.28,3.5C11.5,1.78,10.69,0,8.5,0,.61,0,0,7.27,0,9.5v1C0,14.71,2.42,18,5.5,18h7A5.38,5.38,0,0,0,18,12.5C18,9.9,16.58,8.63,15.07,7.28ZM12.5,17h-7C3,17,1,14.14,1,10.5v-1C1,6.94,1.73,1,8.5,1c1.47,0,2,1.11,2.87,2.92a9.61,9.61,0,0,0,1.78,2.94c.42.42.85.81,1.25,1.17a18,18,0,0,1,1.35,1.3c-.51,1.28-2,2.23-4.35,2.69a3.89,3.89,0,0,1-3.07-.53A7,7,0,0,1,6,7.42L5,7.58A7.86,7.86,0,0,0,7.76,12.3a4.58,4.58,0,0,0,2.66.81A6,6,0,0,0,11.6,13c2.36-.46,4-1.44,4.82-2.77A4.33,4.33,0,0,1,17,12.5,4.35,4.35,0,0,1,12.5,17Z"/>
    </g>
  </g>
</svg>
<!--/jdists-->

<!--svgo-->
<svg width='200' height='200' fill="#000000" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" x="0px" y="0px">
  <title>Bean bag</title>
  <g data-name="Layer 2">
    <g data-name="Layer 1">
      <path d="M15.07,7.28c-.39-.35-.8-.72-1.22-1.13A8.9,8.9,0,0,1,12.28,3.5C11.5,1.78,10.69,0,8.5,0,.61,0,0,7.27,0,9.5v1C0,14.71,2.42,18,5.5,18h7A5.38,5.38,0,0,0,18,12.5C18,9.9,16.58,8.63,15.07,7.28ZM12.5,17h-7C3,17,1,14.14,1,10.5v-1C1,6.94,1.73,1,8.5,1c1.47,0,2,1.11,2.87,2.92a9.61,9.61,0,0,0,1.78,2.94c.42.42.85.81,1.25,1.17a18,18,0,0,1,1.35,1.3c-.51,1.28-2,2.23-4.35,2.69a3.89,3.89,0,0,1-3.07-.53A7,7,0,0,1,6,7.42L5,7.58A7.86,7.86,0,0,0,7.76,12.3a4.58,4.58,0,0,0,2.66.81A6,6,0,0,0,11.6,13c2.36-.46,4-1.44,4.82-2.77A4.33,4.33,0,0,1,17,12.5,4.35,4.35,0,0,1,12.5,17Z"/>
    </g>
  </g>
</svg>
<!--/svgo-->
```

## License

MIT © [zswang](http://weibo.com/zswang)

[npm-url]: https://badge.fury.io/js/%40jdists%2Fsvgo
[npm-image]: https://badge.fury.io/js/%40jdists%2Fsvgo.svg
[travis-url]: https://travis-ci.org/jdists/svgo
[travis-image]: https://travis-ci.org/jdists/svgo.svg?branch=master
[coverage-url]: https://coveralls.io/github/jdists/svgo?branch=master
[coverage-image]: https://coveralls.io/repos/jdists/svgo/badge.svg?branch=master&service=github
npm package: @jdists/swig
Description: swig as jdists processor
Author: zswang
Latest version: 0.0.3

# @jdists/swig

swig as jdists processor

[![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coverage Status][coverage-image]][coverage-url]

* @see [jdists](https://github.com/zswang/jdists)

* @see [swig](https://github.com/paularmstrong/swig)

## Example

```html
<!--data>
kids:
  - name: Jimmy
    age: '12'
  - name: Sally
    age: '4'
</data-->

<!--jdists encoding="swig" data="?data"-->
<ul>
  {% for item in kids %}
  <li>{{ item.name }} is {{ item.age }}</li>
  {% endfor %}
</ul>
<!--/jdists-->

<!--swig data="?data"-->
<ul>
  {% for item in kids %}
  <li>{{ item.name }} is {{ item.age }}</li>
  {% endfor %}
</ul>
<!--/swig-->
```

## License

MIT © [zswang](http://weibo.com/zswang)

[npm-url]: https://badge.fury.io/js/%40jdists%2Fswig
[npm-image]: https://badge.fury.io/js/%40jdists%2Fswig.svg
[travis-url]: https://travis-ci.org/jdists/swig
[travis-image]: https://travis-ci.org/jdists/swig.svg?branch=master
[coverage-url]: https://coveralls.io/github/jdists/swig?branch=master
[coverage-image]: https://coveralls.io/repos/jdists/swig/badge.svg?branch=master&service=github
npm package: @jdists/uglify
Description: uglify as jdists processor
Author: zswang
Latest version: 0.0.2

# @jdists/uglify

uglify as jdists processor

[![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coverage Status][coverage-image]][coverage-url]

* @see [jdists](https://github.com/zswang/jdists)

* @see [UglifyJS](https://github.com/mishoo/UglifyJS2)

## Example

```js
/*<jdists encoding="uglify">*/
function calc(number) {
  var result = 0
  for (var i = 0; i < number; i++) {
    result += i
  }
  return '数:' + result
}
/*</uglify>*/

/*<uglify>*/
function calc(number) {
  var result = 0
  for (var i = 0; i < number; i++) {
    result += i
  }
  return '数:' + result
}
/*</uglify>*/
```

## License

MIT © [zswang](http://weibo.com/zswang)

[npm-url]: https://badge.fury.io/js/%40jdists%2Fuglify
[npm-image]: https://badge.fury.io/js/%40jdists%2Fuglify.svg
[travis-url]: https://travis-ci.org/jdists/uglify
[travis-image]: https://travis-ci.org/jdists/uglify.svg?branch=master
[coverage-url]: https://coveralls.io/github/jdists/uglify?branch=master
[coverage-image]: https://coveralls.io/repos/jdists/uglify/badge.svg?branch=master&service=github