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

0.0.6 • Public • Published

VLEX (Vue Like Expressions)

Features

  • Support vue dynamic expressions
  • Support all vue filters

Install

npm install vlex --save

Usage

import Vlex from 'vlex';

const vlex = new Vlex();

vlex.parse('hello {{ world }}', { world: 'vlex'}); // return hello vlex
vlex.parse('vlex: a + 1', { a: 1 }); // return 2

Test

npm run test

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i vlex

Weekly Downloads

0

Version

0.0.6

License

MIT

Unpacked Size

8.04 kB

Total Files

9

Last publish

Collaborators

  • gcaufy