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 🙏

© 2026 – Pkg Stats / Ryan Hefner

nibu

v0.4.8

Published

Newicon Backup using AWS S3

Readme

NIBU - Newicon Backup

Warning: This package is not production-ready and is being frequently updated with new features that may not be backwards compatible.

If in doubt, wait for the v1.0.0 release!

##Repo

https://bitbucket.org/newicon/nibu/overview

##Installation

  • Install globally:

    npm install nibu -g

  • Add configuration file ~/.nibu/config.json

    You can find an example file in this package called "config.example.json"

##Usage

Basic usage:

nibu command [params]

###List of commands:

nibu media [method] [days]

By default, a 'media' directory will be created in the bucket and used as the root directory for all media uploads

  • [method] : 'all' or 'updated' (default)

  • [days] : used with method, number of days to check back

    nibu mysql

Will backup all databases nibu has access to via its db user credentials specified in the configs db settings

nibu createBucket bucketName
  • bucketName : the name of the bucket you want to create

    nibu uploadFile fileName [remoteDir]

  • filePath : file to be uploaded (including local file path)

  • _[remoteDir] : if set, the file will use this as the aws S3 remote path; otherwise it will use a path similar to the filePath variable

    nibu decryptBackup fileName [outputDir]

  • fileName : the file to decrypt (including path)

  • [outputDir] : if set, the file will output to this directory; otherwise, it will use the original file's directory

    nibu importDb fileName dbName

  • fileName : file to import (including path)

  • dbName : the database to use for the import

    nibu importDbFromS3 objectKey dbName

  • objectKey : S3 object key to use for import (including path)

  • dbName : the database to use for the import

    nibu all

This is run without any options and uses the defaults only. Future releases may include options...

nibu config

Show current config options

nibu -V

Show the current nibu version

##Configuration Options

  • s3 (all options for s3)

  • defaults (access credentials)

    • accessKeyId: your public access key
    • secretAccessKey: your private/secret access key
    • endpoint: the endpoint for your account e.g. 's3-eu-west-1.amazonaws.com'
    • region: the region for your account e.g. 'eu-west-1'
  • bucketName: your bucket name

  • maxBufferLength: the maximum file buffer size before multipart uploads kick in; default: '1073741824'

  • multipart: (options for multipart uploads)

  • partSize: size of each part or 'chunk' in bytes_; default: '5242880' (5mb)

  • maxUploadTries: the maximum number of upload attempts per part before it errors; default: 3

  • db (db configuration options)

    • username
    • password: if set, this is also used for backup encryptions
    • encrypt_backup: boolean; whether to use ssl encryption for your db backups. If set to true, you must use a db password, as this is used for the encryption key. Future releases may allow a different key...
  • media (options for media backups)

  • directories: list of directories to use as 'roots' for backing up media. Example:

    { "/path/to/local/directory/" : "path/to/remote/media/directory/", "/path/to/another/local/directory/" : "path/to/another/remote/media/directory/" }

  • excludedDirectories: array of directories to exclude, such as cache, assets etc Example:

    ["assets", "bundle", "cached-copy", "runtime"]

You can find an example configuration file in the root of this package, called config.example.json

newicon.net