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

is-ico

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-ico

Check if a Buffer/Uint8Array is a .ico file

latest
Source
npmnpm
Version
1.0.1
Version published
Weekly downloads
3
-76.92%
Maintainers
1
Weekly downloads
 
Created
Source

is-ico Build Status

Check if a Buffer/Uint8Array is a .ico file

Installation

$ npm install --save is-ico

Usage

var readChunk = require('read-chunk'); // npm install read-chunk
var isIco = require('is-ico');
var buffer = readChunk.sync('favicon.ico', 0, 4);

isIco(buffer);
//=> true

License

MIT © Arthur Verschaeve

Keywords

icon

FAQs

Package last updated on 31 Aug 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