Skip to content

Commit

Permalink
npm module to be named libxslt directly
Browse files Browse the repository at this point in the history
  • Loading branch information
Alban Mouton committed Aug 20, 2014
1 parent 4931029 commit 8e632a5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ Node.js bindings for [libxslt](http://xmlsoft.org/libxslt/) compatible with [lib
Installation
------------

npm install node-libxslt
npm install libxslt

Basic usage
-----------

```js
var lixslt = require('node-libxslt');
var lixslt = require('libxslt');

var stylesheet = libxslt.stylesheet(stylesheetString);

Expand All @@ -43,7 +43,7 @@ Node-libxslt depends on [libxmljs](https://github.com/polotek/libxmljs/issues/22
It is possible to work with libxmljs documents instead of strings:

```js
var lixslt = require('node-libxslt');
var lixslt = require('libxslt');
var libxmljs = require('libxmljs');

var stylesheetObj = libxmljs.parseXml(stylesheetString);
Expand All @@ -67,7 +67,7 @@ The same *apply()* function can be used in synchronous mode simply by removing t
In this case if a parsing error occurs it will be thrown.

```js
var lixslt = require('node-libxslt');
var lixslt = require('libxslt');

var stylesheet = libxslt.stylesheet(stylesheetString);

Expand Down

0 comments on commit 8e632a5

Please sign in to comment.