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 🙏

© 2024 – Pkg Stats / Ryan Hefner

faster-webpack-upload-plugin

v1.2.3

Published

Upload your files to ftp server easier and faster,add support to 'webpack --watch'

Downloads

1,818

Readme

faster-webpack-upload-plugin

Upload your files to ftp server easier and faster,add support to 'webpack --watch'

LICENSE 996.icu

NPM

Installation

npm i -D faster-webpack-upload-plugin

Usage

add following code to your webpack config file.

const FasterUploadPlugin = require('faster-webpack-upload-plugin');

var webpackConfig = {
  entry: 'index.js',
  output: {
    path: 'assets',
    filename: 'index_bundle.js'
  },
  plugins: [
    new FasterUploadPlugin({

        // config options, you can find options detail down here

    })
  ]
}

Options Detail:

Option Name|Usage|Type|Default Value ---|:--:|:--:|:-: host|Server's IP address|String|(none) port|Number of ssh port| String | "22" username|Username for authentication|String|(none) ~~localPath~~|~~Folder path which need upload~~|~~String~~|Deprecated,don't need it anymore remotePath|Folder path on server|String|(none) log|Show log when is uploading|Boolean | {info: Boolean, progress: Boolean, warning: Boolean, error: Boolean}|false clearFolder|Clear remote path files for the first time|Boolean|false fileIgnores|Files didn't upload(matching file path + file name)|Array<RegExp>|(none)

for other options you can see https://github.com/mscdex/ssh2#client-methods

Change Log

1.2.2

- fix: ssh2 securty problem

1.2.1

- change: change license from MIT to 996.ICU License

1.2.0

- change: remove the code of scanning local directory, so remove the option "localPath"
- fix: when webpack watching mode add new folder, the plugin can auto retry and make it right

License

This project is licensed under 996.ICU.