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

s3-groundskeeper

v0.3.1

Published

One way sync. local directory -> s3 bucket's content

Downloads

43

Readme

S3 Grounds Keeper

One way synchronization local directory content with Amazon S3 bucket.

Setup, develop, build

npm

setup: npm i start develop: npm run build

yarn

setup yarn start develop: yarn build

CLI

|--arg |-short | required | description | |-------------------------------|----------|----------|--------------------------| |--src=path | -s=path |* | path to source (sync out) directory | |--s3-region=name | |* | S3 Bucket's region | |--s3-endpoint=url | | | S3 Endpoint URL | |--s3-key=key | |* | S3 Access Key | |--s3-seckey=key | |* | S3 Secret Access Key | |--s3-bucket=name | -b=name |* | S3 destination (sync in) bucket name (NOT ARN, just a name) | |--artifactory-url=url | |* | jfrog Artifactory base url | |--artifactory-user=username | |* | jfrog Artifactory user | |--artifactory-password=password| | | jfrog Artifactory user's password | |--artifactory-apikey=jfapikey | | | jfrog Artifactory user's Api key | |--dry-run | -n | | Dry run: do nothing only prints what to do. | |--show-conf | | | Print json object for the used configuration. |

jFrog notes

Currently supported Basic authentication using your username and API Key: user name and Api key must be provided. Each request will use Authorization (http header) = base64('Basic jfuser:jfapikey'). Instead of api key password also can be used.

S3 notes

Access to s3 bucket provided through AWS SDK/Client S3 Api. There is required parameters to configure access to S3 resources:

  • region;
  • access key / secret access key;
  • target bucket's name;

Metapointer file format.

#metapointer PROVIDERNAME oid provider_secific_data

Providers:

|Provider |Data | Sample | |-----------|------------------------------------------|----------------------------------------| |jfrogart | oid aql_request_field:field_value |oid md5:e26a6019c8da5d9a3e6f742c0c6cc02c|

Sample for jfrogart

#metapointer jfrogart oid md5:e26a6019c8da5d9a3e6f742c0c6cc02c

or

#metapointer jfrogart oid name:myfilename.txt

Publish a new release

  1. Make an annotated git tag using git tag -a <version> or git tag -s <version>, if signed tag is preferred.
  2. Checkout the tag, cleanup the working tree.
  3. Install the dependencies: npm ci.
  4. Build the package: npm run build -- --version <version>.
  5. Create the tarball: npm pack ./dist, check the tarball contents.
  6. Publish the tarball: npm publish <path-to-tgz>.