Skip to content
This repository has been archived by the owner on Dec 20, 2023. It is now read-only.

Commit

Permalink
Improved README language.
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobmarble committed Jan 14, 2013
1 parent 71b8b4b commit 93bcac3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
node-wgxpath
============

[Wicked Good XPath](http://code.google.com/p/wicked-good-xpath/) is a fast implementation of [document.createEvaluation](https://developer.mozilla.org/en-US/docs/DOM/document.createExpression) and [document.evaluate](https://developer.mozilla.org/en-US/docs/DOM/document.evaluate) ([DOM3-XPath](http://www.w3.org/TR/2004/NOTE-DOM-Level-3-XPath-20040226/DOM3-XPath.html)) in pure Javascript.
[Wicked Good XPath](http://code.google.com/p/wicked-good-xpath/) is a fast implementation of [document.createExpression](https://developer.mozilla.org/en-US/docs/DOM/document.createExpression) and [document.evaluate](https://developer.mozilla.org/en-US/docs/DOM/document.evaluate) ([DOM3-XPath](http://www.w3.org/TR/2004/NOTE-DOM-Level-3-XPath-20040226/DOM3-XPath.html)) in pure Javascript.

Version
------

I'm pretty lazy, so I didn't build Wicked Good XPath myself. When the pre-compiled [wgxpath.install.js](http://code.google.com/p/wicked-good-xpath/downloads/detail?name=wgxpath.install.js) is updated, I'll update this package.
`0.x.y`: `x` refers to the Google SVN revision when `wgxpath.install.js` was built; `y` refers to any improvements to this package.

`0.x.y`: `x` refers to the Google SVN revision when `wgxpath.install.js` was built, and any improvements to this library will be indicated by `y`.
I'm pretty lazy, so I didn't build Wicked Good XPath myself. When the pre-compiled [wgxpath.install.js](http://code.google.com/p/wicked-good-xpath/downloads/detail?name=wgxpath.install.js) is updated, I'll update this package.

Installation
------------
Expand All @@ -17,10 +17,14 @@ Install with [npm](http://npmjs.org/):

npm install wgxpath

Make sure things are working:

node node_modules/wgxpath/word_of_the_day.js

Example
-------

This example scrapes the Merriam-Webster Word of the Day. This code can also be found in the included `word_of_the_day.js`.
This example scrapes the [Merriam-Webster Word of the Day](http://www.merriam-webster.com/word-of-the-day/). This code can also be found in `word_of_the_day.js`.

```javascript
var wgxpath = require('wgxpath');
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "wgxpath",
"description": "Wicked Good XPath",
"version": "0.12.0",
"version": "0.12.1",
"url": "http://code.google.com/p/wicked-good-xpath/",
"homepage": "https://github.com/jacobmarble/node-wgxpath",
"author": {
Expand Down

0 comments on commit 93bcac3

Please sign in to comment.