Le 13/09/2021 à 20:12, mdbi...@disroot.org a écrit : > Package: wnpp > Severity: wishlist > Owner: Mohammed Bilal <mdbi...@disroot.org <mailto:mdbi...@disroot.org>> > X-Debbugs-CC: debian-de...@lists.debian.org > <mailto:debian-de...@lists.debian.org> > > * Package name : node-is-blob > Version : 2.1.0 > Upstream Author : Sindre Sorhus <sindresor...@gmail.com > <mailto:sindresor...@gmail.com>> (sindresorhus.com) > * URL : https://github.com/sindresorhus/is-blob#readme > <https://github.com/sindresorhus/is-blob#readme> > * License : Expat > Programming Lang: JavaScript > Description : Check if a value is Blob > Simple module that can be used in browsers to check if a blob/file is > present. > . > Node.js is an event-based server-side JavaScript engine. > > This is my first time packaging for debian. So I would need a sponsor > for this package.
Hi, this is a very little package : 'use strict'; module.exports = value => { if (typeof Blob === 'undefined') { return false; } return value instanceof Blob || Object.prototype.toString.call(value) === '[object Blob]'; }; it won't be accepted by ftpmaster, please embed it if you need it. Cheers, Yadd