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

gigya-dev-toolkit

v1.3.18

Published

Gigya developer toolkit for common tasks, with a focus on ease-of-use and automation. All tools are available from both a web browser and an interactive command-line.

Downloads

2

Readme

Gigya Developer Toolkit (GDT)

Gigya developer toolkit for common tasks, with a focus on ease-of-use and automation. All tools are available from both a web browser and an interactive command-line. Gigya recommends using the GDT as part of your build process to automate import and validation of Gigya settings instead of managing the process by hand.

Use online

For convenience, the GDT browser interface is hosted online at: https://tools.gigya-cs.com/gigya-dev-toolkit/.

Installation

Browser

npm install gigya-dev-toolkit will install all dependencies and build the app. To start the web server, run npm start. Navigate to http://localhost:5050.

gigya-task-selection

Command-line

npm -g install gigya-dev-toolkit will install the gigya-dev-toolkit interactive command-line interface on your machine.

command-line

The command-line utility is designed to assist in automating all GDT tasks as part of your build process. After running a successful command via the interactive interace, the full command with arguments will be shown so that you can easily run the same command again. One common use of the GDT command-line is to validate that your policies/schema/screenSets match across environments. (Development = QA/Staging/Production, for example.) It is bad practice to use the Gigya console to manually copy settings between environments.

The GDT command-line treats the current working directory as it's project directory. All exported files will be automatically downloaded into the current working directory, the file selection dialog shows you only files in the current working directory, etc.

Save credentials

By default, your user key and user secret need to be entered each time. To save, create an alias for gigya-dev-toolkit to provide credentials automatically via their command-line arguments.

alias gdt="gigya-dev-toolkit --userKey \"USER_KEY_HERE\" --userSecret \"USER_SECRET_HERE\""

Tutorial

This tutorial uses the browser UI, but all options are identically presented on the interactive command-line. This tutorial will walk you through an example validation task.

Start by entering your user key and user secret key, found within Gigya's console on the Account page. gigya-keys-input

Select one partner ID to perform the task on. If you only have access to one partner ID, this screen will be skipped. In cases where you have access to more partner IDs than can be reasonably shown, you will be asked to enter your partner ID manually. partner-id-input

Select one task. gigya-task-selection

Select setting(s) to operate on. For example, if you select "Schema", a copy operation would copy the the schema settings, a validation operation would validate only the schema, etc. gigya-settings-selection

Select the source Gigya site to pull settings from. source-apikey-selection

Select the destination Gigya site(s) to operate on. For example, a copy operation would copy to all selected sites. destination-apikey-selection

The final page will show you the result of the task. validate-1

Tasks

Export

Settings can be exported as JSON. You can select multiple settings to export. Once exported, the file can be saved in your source code repository or imported into another API key.

Import

Exported setting files can be imported into API key(s).

Copy

Copy settings between API key(s). You can select multiple settings to copy at once and copy to multiple destination API keys.

Validation

Settings (sourced from an API key) can be validated against other API key(s) live settings. If validation fails, the difference between the expected and actual setting will be shown graphically.

Browser UI

Summaries are shown grouped under the destination API key. validate-1

Click to expand a failed validation to view the difference graphically. validate-diff

Command-line UI

validate-cli