html-slicer

0.2.0 • Public • Published

html-slicer

NPM version

If you have ever used Evernote web clipper, you must know how amazing it is. This small tool trys to implement parts of its functions.

Installation

This module is installed via npm:

$ npm install html-slicer

Example Usage

var htmlSlicer = require('html-slicer');
htmlSlicer({url: 'http://nodejs.org', selector: '#column1'},
  function(result) {
    console.log(result);
  });

What this tool basically does is it clip part(which selector specified) of an webpage, and returns the result as html with inline css.

Previou

before -->

before

after -->

after

Readme

Keywords

Package Sidebar

Install

npm i html-slicer

Weekly Downloads

1

Version

0.2.0

License

MIT

Last publish

Collaborators

  • ruanyu1