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

jj-cli

v1.0.5

Published

A TOOL CLI

Downloads

392

Readme

jj-cli

A Tool CLI

Install

    npm i jj-cli -g

Usage git

    j -h (help)
    j gpush <messgae> -b [branch] -d [depository]
    j gpull -b [branch] -d [depository]
    j gtag [tagName] -d [depository]

Usage open ios/platform

  • For: cordova app / capacitor app

    j open ios
    j open android
    j openpath xxxx  // open your folder

Usage upload ios/platform to appcenter

  • For: cordova app / capacitor app
  • Before using, make sure that there is .apk/.ipa under the ios/android folder , Or set your apppath: --apppath: xxxxx(./)

    j upload android -n <appcenter release notes> -path xxxx
    j upload ios -n <appcenter release notes> -path xxxx
    j appcenter login
    j appcentet logout
    * Contains reading parameters from jj.config.json to upload 
    

Usage template

  • node
  • python xxx(project name)
  • -pn : Set your project name
  • -fp / --folderpath: Set your folder path.

    j create node 
    j create node -fp xxxxxx
    j create python xxxx(project name)
    j create python xxxx -fp xxxxxx

Usage preview

  • Help you run a local service
  • j preview
  • -host: default is localhost
  • -port: default is 5000
  • -staticFolderName: default is dist

    j preview
    j preview -host 192.168.3.2
    j preview -port 5888

Usage ip

  • Get the IP address of your pc/mac

    j ip

Usage sign

  • Help you sign android apk; platform: android(default)
  • Please write your config file at current directory
{

    "unsignedApk": "./app-release-unsigned.apk",
    "defaultAlias": "key0",
    "defaultAppcenterToken": "xxxx",
    "projects": [
        {
            "name": "xxxx",
            "keyStoreFile": "xxxx/bkapp.jks",
            "storepass": "pwd",
            "keypass": "pwd",
            "alias": "key0",
            "appcenter": {
                "android": {
                    "prd": {
                        "userName": "xxx",
                        "appName": "xxxx",
                        "group": "xxx"
                    },
                    "uat": {
                        "userName": "xxx",
                        "appName": "xxxx",
                        "group": "xxx"
                    }
                },
                "ios": {
                    "prd": {
                       "userName": "xxx",
                        "appName": "xxxx",
                        "group": "xxx"
                    },
                    "uat": {
                        "userName": "xxx",
                        "appName": "xxxx",
                        "group": "xxx"
                    }
                }
            },
            "pgyer": {
                "apiKey": "xxx",
                "userKey": "xxx",
                "buildPassword": "xxxx",
                "android": {
                    "appKey": "xxxxx",
                    "description": "for test"
                },
                "ios": {
                    "appKey": "xxxx",
                    "description": "for test"
                }
            }
        }
    ]

}
j sign
j sign -pn xxx(your project, find from projects in config )
j sign -fp xxxxx(your signature configuration folder path, must have jj.config.json, jks...)
j sign -appcenter xxx(prd/uat: Specify the uat/prd you. configured in jj.config.json )

Usage zip

  • Help you zip file or folder
j zip -output xxx.zip file file folder...