Catalog npm
PACKAGE EXPLORERView in registry

1mb-cli

npm

Quickly deploy static content to 1MB's free static hosting service

oclif
Versions collected12
Direct dependencies14From release 2.0.4
Last observed20 Oct, 18:33 UTC

README

Current package documentation

1mb-cli

1mb-cli is an NPM package that allows you to quickly and easily deploy content to static sites via your terminal. It was built to help improve and expand 1mbsite. Not only can it deploy content but it will auto minify all resources to save storage.

Install

You can install 1mb-cli with the following command:

npm install --global 1mb-cli

Or you can download the latest tarball from the Releases page.

Usage

Cd into your websites directory and run 1mb-cli deploy. It will prompt you for your account username and api key and ask you if you'd like to cache them.

Upgrade Guide

If you're running a version of 1mb-cli older than 2.0.0 you can use the following command to upgrade:

npm install --global 1mb-cli

If you're using 2.0.0 or newer you can simply upgrade with 1mb-cli update

Note: The upgrade command will not work if you are using a tarball.

Optional Flags

FlagDescription
--vuejsAuto build and deploy a React application. Note: you must be in the root directory of your application
--reactjsAuto build and deploy a React application. Note: you must be in the root directory of your application
--minifyMinify all HTML/CSS/JS files. Note: This flag is useless if the --vuejs or --reactjs flags are used with it
--clearcredsClear saved credentials and reauthenticate
--clear-filesClear all site resources currently on 1MB before deploying. Note: this param doesn't do anything when mixe with --vuejs or --reactjs because those params delete all resources.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 12

Collected releases
VersionPublishedDirect dependenciesOpen version
2.0.4Registry latest24 Jul 201914
2.0.317 May 201914
2.0.210 May 201914
2.0.110 May 201914
2.0.010 May 201914
1.0.63 May 201914
1.0.525 Mar 201914
1.0.424 Mar 201913
1.0.324 Mar 201913
1.0.224 Mar 201913
1.0.124 Mar 201913
1.0.024 Mar 201913

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
1mbsite/1mb-cli

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 18:33 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:60894cca0826c72c88fa9336cc46c9a6b9b6d89ac313c8df4a514e72a0457613