Socket
Socket
Sign inDemoInstall

is-epub

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-epub - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

2

package.json
{
"name": "is-epub",
"version": "0.1.1",
"version": "0.1.2",
"description": "Check if a Buffer/Uint8Array is EPUB",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -30,3 +30,3 @@ # is-epub [![Build Status](https://travis-ci.org/sindresorhus/is-epub.svg?branch=master)](https://travis-ci.org/sindresorhus/is-epub)

var isEpub = require('is-epub');
var buffer = readChunk('unicorn.epub', 0, 58);
var buffer = readChunk.sync('unicorn.epub', 0, 58);

@@ -33,0 +33,0 @@ isEpub(buffer);

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc