Skip to content
forked from atojs/divclip

extricate element from DOM by selector

Notifications You must be signed in to change notification settings

PlopTheReal/divclip

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

divclip

Extricate element from DOM by selector

derived and augmented from htmlclipper by Florentin Sardan

  • ES5 compliant
  • scoped CSS
  • use external SHA256
  • convert relative a href to absolute URL
  • wrapped for browserify/require()

example

var divclip = require("divclip");
var html    = divclip.bySel(".article-body");
console.log(html);

https://www.npmjs.org/package/divclip
Tested with NodeJS 0.10.28 and Firefox30+

references

About

extricate element from DOM by selector

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%