Security News
Cloudflare Adds Security.txt Setup Wizard
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
@ifaxity/mz
Advanced tools
No dependencies in production & code is cut down to not take so much space. Because node_modules hell is something i want to avoid. This module was for private purposes but making it public wont do any harm.
Code heavily based on the mz package
npm install @ifaxity/mz --save
or if you use yarn
yarn add @ifaxity/mz
To use the module just require it like this:
const mz = require('@ifaxity/mz');
And then you can then use the module like this:
const fs = require('@ifaxity/mz').fs;
// ...then use the fs module like normal but with promises.
// You can also just require a certain sub module like this.
const fs = require('@ifaxity/mz/fs');
// ...then use the module like normal but with promises.
The built in functions and variables not promisified in this package are just proxied over so the synchronous functions and variables works.
However if the built in module doest have a function that is in a later module it wont try to promisify it. So some functions may not exist if you are in node 8 or another earlier version.
The modules & functions that are promised are:
child_process
exec
execFile
crypto
generateKeyPair
pbkdf2
randomBytes
randomFill
scrypt
dns
lookup
lookupService
resolve
resolve4
resolve6
resolveAny
resolveCname
resolveMx
resolveNaptr
resolveNs
resolvePtr
resolveSoa
resolveSrv
resolveTxt
reverse
fs
access
appendFile
chmod
chown
close
copyFile
fchmod
fchown
fdatasync
fstat
fsync
ftruncate
futimes
lchmod
lchown
link
lstat
mkdir
mkdtemp
open
read
readdir
readFile
readlink
realpath
rename
rmdir
stat
symlink
truncate
unlink
utimes
write
writeFile
readline
createInterface
- Modified to return a custom Interface class object but only modifies the question method, the other methods are extended.Interface
- The completer is compatible with both synchronous and promises. But not the normal callback.
question
zlib
brotliCompress
brotliDecompress
deflate
deflateRaw
gunzip
gzip
inflate
inflateRaw
unzip
FAQs
@ifaxity/mz ===================
The npm package @ifaxity/mz receives a total of 6 weekly downloads. As such, @ifaxity/mz popularity was classified as not popular.
We found that @ifaxity/mz demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.
Security News
ENISA’s 2024 report highlights the EU’s top cybersecurity threats, including rising DDoS attacks, ransomware, supply chain vulnerabilities, and weaponized AI.