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

amplify-ds

v1.3.4

Published

Manage DataStore with Amplify Project

Downloads

11

Readme

amplify-ds

Use amplify project config to manage datastore , get example excel file for a model and import data from that file. You must running the command in the root of the project.

Install

npm install -g amplify-ds

Usage

amplifyds <command>

Commands:
  amplifyds sync <model> <src> <dest>        sync model data from <src> env to
  [--delete] [--dryrun]                      <dest> env. When add [--delete],
                                             data that only exist in dest will
                                             be deleted.

  amplifyds import <model> <file>            import model data from excel file.

  amplifyds export <model> [file] [--after   export model data to excel file, you
  timestamp] [--all]                         can add --after to only export data
                                             older than [timestamp] parameter;
                                             add --all to show all data include
                                             deleted.

  amplifyds schema [file]                    list all tables in this schema.

  amplifyds validate                         check if current init token is
                                             validate. Output
                                             USER_TOKEN_VALIDATE_PASSED if ok,
                                             otherwise output
                                             USER_TOKEN_VALIDATE_FAILED.
                                             
  amplifyds example <model> [file]           export example excel file for a
                                             model.
  • Use --dryrun in sync command before actually starting sync process to see the differ overview
  • Use --delete in sync command to delete isolated data that only exist in destination
  • If a model already has some data in datasource, you can first export these data to a excel file and modify them, then you can import the file to update these data without deleting or duplicating them
  • When export model data, use [--after timestamp] to only export newer data you want, use [--all] to export all data include deleted data