【文件属性】:
文件名称:wgxpath-latest:wgxpath 的独立包(专为与 bower 一起使用而创建)
文件大小:13KB
文件格式:ZIP
更新时间:2021-05-31 22:54:51
JavaScript
节点-wgxpath
是纯Javascript中和 ( )的快速实现。
版本
xyz : xy指wgxpath.install.js构建时的 Wicked Good XPath 修订版; z指的是对这个包的任何改进。
我很懒,所以我没有自己构建 Wicked Good XPath。 当预编译的更新时,我会更新这个包。
安装
使用安装:
npm install wgxpath
确保一切正常:
node node_modules/wgxpath/word_of_the_day.js
例子
这个例子抓取了 。 此代码也可以在word_of_the_day.js找到。
var wgxpath = require ( 'wgxpath' ) ;
var jsdom = require ( 'jsdom' ) ;
var url = 'http://www.merriam-webst
【文件预览】:
wgxpath-latest-master
----wgxpath.install.js(41KB)
----bower.json(379B)
----LICENSE(1KB)
----README.md(2KB)
----package.json(724B)