Wondering what’s next for npm?Check out our public roadmap! »

    divclip

    1.0.0 • Public • Published

    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);

    Tested with NodeJS 0.10.28 and Firefox30+

    references

    Install

    npm i divclip

    DownloadsWeekly Downloads

    88

    Version

    1.0.0

    License

    BSD

    Last publish

    Collaborators

    • avatar