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

ginue

v3.1.0

Published

ginue is the CLI tool to get settings of kintone via kintone REST API.

Readme

Ginue

English | 日本語

A CLI tool to manage kintone app settings via the kintone REST API with a Git-like workflow.

📢 Notice

v3.x will be upgraded to v4 soon.

  • v2: Node.js (JavaScript) version - maintenance mode
  • v3: Node.js (TypeScript) version - current
  • v4: Next version (Node.js, Deno, or Golang) - under consideration

Installation

Global installation:

npm install -g ginue
# or
yarn global add ginue

Per-project installation:

npm install --save-dev ginue
# or
yarn add --dev ginue

Usage

Ginue provides Git-like commands:

Common Options

  -v, --version                    Output version information
  -h, --help                       Output usage information
  -d, --domain=<DOMAIN>            kintone domain name
  -u, --user=<USER>                kintone username
  -p, --password=<PASSWORD>        kintone password
  -a, --app=<APP-ID>               kintone app IDs
  -g, --guest=<GUEST-SPACE-ID>     kintone guest space ID
  -b, --basic=<USER[:PASSWORD]>    kintone Basic Authentication user and password
  -A, --appName=<APP-NAME>         Set target app name
  -l, --location=<LOCATION>        Location of settings file
  -t, --fileType=<FILE-TYPE>       Set file type 'json'(default) or 'js'
  -F, --pfxFilepath=<PFX-FILEPATH> The path to client certificate file
  -P, --pfxPassword=<PFX-PASSWORD> The password of client certificate
  --oauth                          Use OAuth 2.0 authentication (requires gyuma)
  --preview                        Fetch from test environment instead of production
  --alt                            Save with alternate format (masks environment-specific values)
  --downloadJs                     Download JS/CSS customization files
  --proxy=<PROXY-URL>              Proxy server URL
  • If domain, user, password, or app options are omitted, you will be prompted for input.
  • Multiple app IDs can be specified with commas (e.g., -a 10,11,12).
  • The guest option is required for apps in guest spaces.
  • Options can also be set via .ginuerc config file, .netrc, or environment variables.
  • Priority: CLI args > .ginuerc > .netrc > environment variables

.ginuerc

Create a .ginuerc config file in your project directory for automatic option loading. Supports JSON, JS, and YAML formats.

.ginuerc.json

{
  "location": "kintone-settings",
  "domain": "example.cybozu.com",
  "username": "Administrator",
  "password": "myPassword",
  "app": [10, 11, 12]
}

Multi-environment configuration:

{
  "location": "kintone-settings",
  "env": {
    "development": {
      "domain": "dev.cybozu.com",
      "app": { "user": 128, "order": 129 }
    },
    "production": {
      "domain": "prod.cybozu.com",
      "app": { "user": 10, "order": 11 }
    }
  }
}

ginue pull

Fetches kintone app settings and saves them as JSON files.

  • Creates a directory per app containing all settings JSON files.
  • The revision field is extracted to a separate revision.json file for cleaner diffs.
  • Use --preview to fetch settings from the test environment instead of production.
ginue pull -d example.cybozu.com -a 10,11,12 -u Administrator
ginue pull -A user --preview

ginue push

Uploads local JSON settings to kintone's test environment.

  • Push to the same environment: ginue push development
  • Push across environments: ginue push development:production
  • After pushing, use kintone's UI to "Update App" or "Discard Changes", or use ginue deploy / ginue reset.

--dry-run option

Use --dry-run=<OUTPUT-DIR> to preview the transformed JSON without actually pushing to kintone. This is useful for verifying changes before pushing, especially when pushing across environments.

# Preview transformed JSON
ginue push development:production --dry-run=./dry-run-output

# Then verify with diff
diff -r ./kintone-settings/development ./dry-run-output/production
ginue push development
ginue push development:production
ginue push development:production -A user

ginue deploy

Deploys settings from the test environment to production.

ginue deploy development
ginue deploy development -A user

ginue reset

Cancels pending changes in the test environment.

ginue reset development
ginue reset development -A user

ginue erd

⚠️ Experimental feature. May be unstable.

Generates an ER diagram (PlantUML format) from lookup field relationships.

ginue erd development

ginue diff

⚠️ Experimental feature. May be unstable.

Opens a visual diff viewer (twins-diff) to compare settings between environments.

ginue diff development
ginue diff development:production

License

MIT