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.
$ npm install --save iconmart-glyphicons-crawler
var iconmartGlyphiconsCrawler = require('iconmart-glyphicons-crawler');
iconmartGlyphiconsCrawler()
.then(function(icons){
console.log(icons.length);
// => 512
console.log(icons[0]);
// => { name: 'adjustment', tags: '' }
});
$ 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
MIT © Matias Singers