eft-parser

0.16.5 • Public • Published

eft-parser

GitHub license npm Build status

Parser for ef.js templates

Usage

ES6

import parseEft from 'eft-parser'
// use `const parseEft = require('eft-parser')` for node.js

const template = 'Your awesome template here'
const ast = parseEft(template)

Browser

<script src="dist/eft-parser.js"></script>
<script>
	var template = 'Your awesome template here'
	var ast = parseEft(template)
</script>

Note: ef.js has a builtin parser, but if you want a faster first render, parse the templates beforehand could be better.

Note: All debugging messages are disabled in the production version

License

MIT

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.16.52latest

Version History

VersionDownloads (Last 7 Days)Published
0.16.52
0.14.10
0.14.00
0.13.50
0.13.30
0.13.00
0.10.61
0.10.10
0.9.60
0.9.00
0.8.21
0.8.00
0.6.30
0.6.10
0.6.00
0.5.120
0.5.111
0.5.100
0.5.90
0.5.80
0.5.70
0.5.60
0.5.50
0.5.40
0.5.30
0.5.20
0.5.10
0.4.40
0.4.30
0.4.20
0.4.10
0.3.20
0.3.10
0.3.00
0.2.90
0.2.80
0.2.70
0.2.60

Package Sidebar

Install

npm i eft-parser

Weekly Downloads

5

Version

0.16.5

License

MIT

Unpacked Size

15.8 kB

Total Files

5

Last publish

Collaborators

  • classicoldsong