lesx-undeclared-vars
获取一段js代码里未声明的变量名
Last updated 2 years ago by abell123456 .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install lesx-undeclared-vars 
SYNC missed versions from official npm registry.

lesx-undeclared-vars

获取一段js代码中未声明的变量。

usage

const getUndeclaredVars = require('lesx-undeclared-vars');

getUndeclaredVars(`Toast.show('test');<Test test={a}/>`);

// ["Toast", "Test", "a"]

Current Tags

  • 0.0.1                                ...           latest (2 years ago)

1 Versions

  • 0.0.1                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 3
Dependencies (2)
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2017 © taobao.org |