New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

eft-parser

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eft-parser

ef.js template parser

latest
Source
npmnpm
Version
0.16.5
Version published
Weekly downloads
39
18.18%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

template

FAQs

Package last updated on 02 Feb 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts