npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@feizheng/next-node-downfile

v1.0.0

Published

Download file for next.

Downloads

88

Readme

next-node-downfile

Download file for next.

version license size download

npm publish failed

npm notice 📦  @feizheng/[email protected]
npm notice === Tarball Contents === 
npm notice 1.2kB dist/next-node-downfile.js    
npm notice 718B  dist/next-node-downfile.min.js
npm notice 1.2kB package.json                  
npm notice 1.3kB dist/next-node-downfile.js.map
npm notice 979B  README.md                     
npm notice 1.1kB LICENSE.txt                   
npm notice === Tarball Details === 
npm notice name:          @feizheng/next-node-downfile            
npm notice version:       1.0.0                                   
npm notice package size:  2.7 kB                                  
npm notice unpacked size: 6.4 kB                                  
npm notice shasum:        254df1d7b6991b8bd61713049a00fff78b5c0409
npm notice integrity:     sha512-ZZZY21VS6hQ18[...]NutR8/d5U1T6g==
npm notice total files:   6                                       
npm notice 
npm ERR! code E400
npm ERR! 400 Bad Request - PUT https://registry.npmjs.org/@feizheng%2fnext-node-downfile - That word is not allowed. Please contact support ([email protected]) if you believe you received this in error.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/feizheng/.npm/_logs/2020-02-18T03_45_54_439Z-debug.log

reason

Due to spam mitigation, the word download is no longer allowed to be used in a package name. We recommend choosing a new package name without the download word.

usage

import '@feizheng/next-node-downfile';

const filename = '__tests__/master.zip';
nx.nodeDownload({
  url: 'https://github.com/afeiship/boilerplate-book-notes/archive/master.zip',
  filename,
  agent: new HttpsProxyAgent('http://127.0.0.1:9090')
}).then((res) => {
  expect(fs.existsSync(filename)).toBe(true);
  done();
});

resources

  • https://stackoverflow.com/questions/49603939/async-callback-was-not-invoked-within-the-5000ms-timeout-specified-by-jest-setti
  • https://www.jianshu.com/p/63d70a93a401
  • https://jestjs.io/docs/en/configuration#testtimeout-number
  • https://stackoverflow.com/questions/44524236/using-proxy-like-fiddler-with-fetch-api
  • https://www.itminus.com/blog/2016/11/01/WindWhisper/ECMAScript/%E7%88%AC%E8%99%AB/Fetch-API-%E4%BD%BF%E7%94%A8%E4%BB%A3%E7%90%86/
  • https://github.com/Gyumeijie/issue-blog/issues/2

license

Code released under the MIT license.