matiassingers / iconmart-glyphicons-crawler

crawls the Iconmart website and formats the icons for GlyphSearch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

iconmart-glyphicons-crawler Build Status Dependency Status

crawls the Iconmart website and formats the icons for GlyphSearch

Adapted version of octicons-glyphsearch-crawler.

See GlyphSearch PR #33 for how this crawler was used.

Install

$ npm install --save iconmart-glyphicons-crawler

Usage

var iconmartGlyphiconsCrawler = require('iconmart-glyphicons-crawler');

iconmartGlyphiconsCrawler()
  .then(function(icons){
    console.log(icons.length);
    // => 512
    
    console.log(icons[0]);
    // => { name: 'adjustment', tags: '' }
  });

CLI

$ npm install --global iconmart-glyphicons-crawler
$ iconmart-glyphicons-crawler --help

  Example
    iconmart-glyphicons-crawler /path/to/glyphsearch
    
    writing file to /path/to/glyphsearch/data/icons-iconmart.json

License

MIT © Matias Singers

About

crawls the Iconmart website and formats the icons for GlyphSearch

License:MIT License


Languages

Language:JavaScript 100.0%