New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

crabber

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crabber

Grabs Content of External Links Posted

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

Crabber

Content Grabbing Made Easy!

Crabber allows you to quickly grab content from external websites into a container specified by you.

Demo

http://gggordon.github.io/Crabber/

Dependencies

| jQuery > 1.11

Getting Started

Use npm

npm install --save crabber

Use bower

bower install --save crabber

or Download minified script and stylesheet from GitHub

https://raw.githubusercontent.com/gggordon/Crabber/master/crabber.js
https://raw.githubusercontent.com/gggordon/Crabber/master/crabber.css

Then Include in html file

<script type="text/javascript" src="crabber.min.js"></script>

You may then include the default stylesheet, feel free to add your own styles

<link rel="stylesheet" type="text/javascript" href="crabber.css" />

Usage

    <script type="text/javascript">
    var options = {
        appendContent:true, //append new content to end of html element. Optional. Defaults to true
        descWordCount:25, //Max word count in description. Optional. Defaults to 20
        viewNode:'.selector' //jquery selector/html node to display grabbed content in. Optional. Defaults to creating new node
    };
    $('#myTextNode').crabber(options);
    </script>

Enjoy

Enjoy this project and if you have any issues feel free to state them here on github or contribute.

MIT License

Keywords

link

FAQs

Package last updated on 29 Dec 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts