Skip to content

atojs/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%