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

bucketed

v0.3.0

Published

This tool will help in deploying static website to cloud storage/bucket.

Downloads

4

Readme

Bucketed

node npm GitHub issues

This tool helps in deploying static website to cloud storage/bucket.

Bucketed allows a simple and elegant way of deploying your static websites to cloud storage/bucket providers. As many of the cloud providers give the facility of hosting a static website through cloud storages such as Google Cloud Storage, AWS S3 etc. You can also integrate Bucketed with your CD tool for autonomous deployment of your site generated through Angular, React etc.

Table of Contents:

Prerequisite

Bucketed is an npm tool written in nodejs, so it is mandatory to have npm and nodejs in the system, where Bucketed will run. Please install following versions -

  • Nodejs >= 8.6.0
  • NPM >= 5.0.0

Installation

Bucketed will be installed as a global dependency to support cli interface. Install it using the following command -

npm install -g bucketed

Usage

To use bucketed, it important to create a config file in the root of the project with name .bucketed. This can be done via two ways -

  1. Creating config file interactively using bucketed init command. To do that follow these steps -
bucketed init

After executing above command, answer the questions asked from console and it will create a config file with the name .bucketed at the location from where command has run. You can also specify the location of config file by passing --config or -c option. see below -

bucketed init -c ./sample-project/my-bucketed-configuration
  1. Manually creating config file. This config file is written in YAML and contains following information -
version: 0.1.0

project:
  name: sample-website-project
  distDir: ./dist

vendor:
  type: gcloud
  projectID: sample-bucket-project
  keyLocation: \keys\xxxx-xxxx-12345.json
  bucketName: sample-bucket
  
  • Version (Optional) It is the version of Bucketed.
  • project->name (Optional) Name of your static website project
  • project->distDir (Required) Path to the directory where static web files are present. It is the path where your index.html is present.
  • vendor->type (Required) Your cloud bucket provider. As of now only Google Cloud Storage (gcloud) and Amazon Web Services (aws) are supported.
  • vendor-> projectID (Required if vendor is gcloud) Your google cloud project id.
  • vendor-> keyLocation (Required) Your cloud service account key file (in json). Storage API should be enabled for this service account.
  • vendor-> bucketName (Required) Your cloud bucket name. Files in your distDir will be uploaded to this bucket.

After setting up above file, run following command to initiate upload process-

bucketed deploy

Note: If you running this command somewhere other than the directory where your .bucketed file is present, then use --config or -c option to specify the location of config file. See below -

bucketed deploy -c ./sample-project/my-bucketed-configuration

Maintainer

Ajit Singh

Roadmap

This will include list of planned features for the tool. see ROADMAP.md

Contributing

Please contribute by exploring the tool and reporting the bugs or providing suggestions for new features on Github Issues.

License

MIT License