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

coding-exp-cli

v1.0.6

Published

Command-line interface for Coding.net user experiment centre.

Downloads

19

Readme

CodingExpClient

Command-line interface for Coding.net user experiment centre.

Installation

run command follow with nodejs and npm.

yarn global add coding-exp-cli

Usage

EXP_PASSWD=PASSWD [EXP_HOST=CODING_OR_MART] coding-exp [[-]key[:value]] {...}

Environment

EXP_PASSWD is you-know-what the coding experiment centre manage password which is necessary for program. Wrong password is OK but you will got wrong result as well.

EXP_HOST is either 'coding.net' or 'mart.coding.net', and 'mart.coding.net' will get default if you omit this option.

Arguments

One or more key-value pairs will be append at the end of this command as arguments which take an effect on experiment switches, and finilly reach our goals.

- means delete, use a single hyphen as the prefix of experiment code, you will get the result without specified experiment code.

key is necessary but just the experiment code.

value is either true or false, means on or off on specified experiment switch, and the true will be used as default.

Example

  1. type command for help

    > coding-exp ↵
    The environment variable EXP_PASSWD is expected.
    Usage:
      EXP_PASSSWD=SOME_PASSWD [EXP_HOST=CODING_OR_MART] coding-exp [args]
  2. get default experiment settings from server side

    > EXP_PASSWD=EXP_PASSWD coding-exp ↵
       
    * apply-resume     [ √ ]
    * guide-publish    [ √ ]
    * high-paid        [ √ ]
    * how-know-mart    [ √ ]
    * million-bonus    [ √ ]
    * mpay             [ √ ]
    * mpay-v3-btn      [ x ]
    * mpay3            [ √ ]
    * quote-mobile-pay [ √ ]
    * sso              [ x ]
    * stage-evaluation [ √ ]
    * use-cdn          [ √ ]
       
    apply-resume%3Dtrue%2Cguide-publish%3Dtrue%2Chigh-paid%3Dtrue%2Chow-know-mart%3Dtrue%2Cmillion-bonus%3Dtrue%2Cmpay-v3-btn%3Dfalse%2Cmpay3%3Dtrue%2Cmpay%3Dtrue%2Cquote-mobile-pay%3Dtrue%2Csso%3Dfalse%2Cstage-evaluation%3Dtrue%2Cuse-cdn%3Dtrue%2C05025301
       
    add_header Set-Cookie "c=apply-resume%3Dtrue%2Cguide-publish%3Dtrue%2Chigh-paid%3Dtrue%2Chow-know-mart%3Dtrue%2Cmillion-bonus%3Dtrue%2Cmpay-v3-btn%3Dfalse%2Cmpay3%3Dtrue%2Cmpay%3Dtrue%2Cquote-mobile-pay%3Dtrue%2Csso%3Dfalse%2Cstage-evaluation%3Dtrue%2Cuse-cdn%3Dtrue%2C05025301;Path=/;Max-Age=259200";
  3. add new experiment code named test

    > EXP_PASSWD=EXP_PASSWD coding-exp test ↵
       
    * apply-resume     [ √ ]
    * guide-publish    [ √ ]
    * high-paid        [ √ ]
    * how-know-mart    [ √ ]
    * million-bonus    [ √ ]
    * mpay             [ √ ]
    * mpay-v3-btn      [ x ]
    * mpay3            [ √ ]
    * quote-mobile-pay [ √ ]
    * sso              [ x ]
    * stage-evaluation [ √ ]
    * use-cdn          [ √ ]
    * test             [ √ ]
       
    apply-resume%3Dtrue%2Cguide-publish%3Dtrue%2Chigh-paid%3Dtrue%2Chow-know-mart%3Dtrue%2Cmillion-bonus%3Dtrue%2Cmpay-v3-btn%3Dfalse%2Cmpay3%3Dtrue%2Cmpay%3Dtrue%2Cquote-mobile-pay%3Dtrue%2Csso%3Dfalse%2Cstage-evaluation%3Dtrue%2Ctest%3Dtrue%2Cuse-cdn%3Dtrue%2C03020305
       
    add_header Set-Cookie "c=apply-resume%3Dtrue%2Cguide-publish%3Dtrue%2Chigh-paid%3Dtrue%2Chow-know-mart%3Dtrue%2Cmillion-bonus%3Dtrue%2Cmpay-v3-btn%3Dfalse%2Cmpay3%3Dtrue%2Cmpay%3Dtrue%2Cquote-mobile-pay%3Dtrue%2Csso%3Dfalse%2Cstage-evaluation%3Dtrue%2Ctest%3Dtrue%2Cuse-cdn%3Dtrue%2C03020305;Path=/;Max-Age=259200";
  4. add new experiment code named test however default false

    > EXP_PASSWD=EXP_PASSWD coding-exp test:false ↵
       
    * apply-resume     [ √ ]
    * guide-publish    [ √ ]
    * high-paid        [ √ ]
    * how-know-mart    [ √ ]
    * million-bonus    [ √ ]
    * mpay             [ √ ]
    * mpay-v3-btn      [ x ]
    * mpay3            [ √ ]
    * quote-mobile-pay [ √ ]
    * sso              [ x ]
    * stage-evaluation [ √ ]
    * use-cdn          [ √ ]
    * test             [ x ]
       
    apply-resume%3Dtrue%2Cguide-publish%3Dtrue%2Chigh-paid%3Dtrue%2Chow-know-mart%3Dtrue%2Cmillion-bonus%3Dtrue%2Cmpay-v3-btn%3Dfalse%2Cmpay3%3Dtrue%2Cmpay%3Dtrue%2Cquote-mobile-pay%3Dtrue%2Csso%3Dfalse%2Cstage-evaluation%3Dtrue%2Ctest%3Dfalse%2Cuse-cdn%3Dtrue%2C0c070752
       
    add_header Set-Cookie "c=apply-resume%3Dtrue%2Cguide-publish%3Dtrue%2Chigh-paid%3Dtrue%2Chow-know-mart%3Dtrue%2Cmillion-bonus%3Dtrue%2Cmpay-v3-btn%3Dfalse%2Cmpay3%3Dtrue%2Cmpay%3Dtrue%2Cquote-mobile-pay%3Dtrue%2Csso%3Dfalse%2Cstage-evaluation%3Dtrue%2Ctest%3Dfalse%2Cuse-cdn%3Dtrue%2C0c070752;Path=/;Max-Age=259200";
  5. remove sso experiment code

    > EXP_PASSWD=EXP_PASSWD coding-exp -sso
       
    * apply-resume     [ √ ]
    * guide-publish    [ √ ]
    * high-paid        [ √ ]
    * how-know-mart    [ √ ]
    * million-bonus    [ √ ]
    * mpay             [ √ ]
    * mpay-v3-btn      [ x ]
    * mpay3            [ √ ]
    * quote-mobile-pay [ √ ]
    * stage-evaluation [ √ ]
    * use-cdn          [ √ ]
       
    apply-resume%3Dtrue%2Cguide-publish%3Dtrue%2Chigh-paid%3Dtrue%2Chow-know-mart%3Dtrue%2Cmillion-bonus%3Dtrue%2Cmpay-v3-btn%3Dfalse%2Cmpay3%3Dtrue%2Cmpay%3Dtrue%2Cquote-mobile-pay%3Dtrue%2Cstage-evaluation%3Dtrue%2Cuse-cdn%3Dtrue%2C51515354
       
    add_header Set-Cookie "c=apply-resume%3Dtrue%2Cguide-publish%3Dtrue%2Chigh-paid%3Dtrue%2Chow-know-mart%3Dtrue%2Cmillion-bonus%3Dtrue%2Cmpay-v3-btn%3Dfalse%2Cmpay3%3Dtrue%2Cmpay%3Dtrue%2Cquote-mobile-pay%3Dtrue%2Cstage-evaluation%3Dtrue%2Cuse-cdn%3Dtrue%2C51515354;Path=/;Max-Age=259200";
  6. operate experiment code in coding.net

    > EXP_PASSWD=EXP_PASSWD EXP_HOST=coding.net coding-exp ↵
       
    * coding-cli           [ x ]
    * desktop-notification [ √ ]
    * git-upload           [ √ ]
    * guide                [ √ ]
    * project_tweet        [ √ ]
    * svn                  [ √ ]
    * team                 [ √ ]
       
    coding-cli%3Dfalse%2Cdesktop-notification%3Dtrue%2Cgit-upload%3Dtrue%2Cguide%3Dtrue%2Cproject_tweet%3Dtrue%2Csvn%3Dtrue%2Cteam%3Dtrue%2C015f0554
       
    add_header Set-Cookie "c=coding-cli%3Dfalse%2Cdesktop-notification%3Dtrue%2Cgit-upload%3Dtrue%2Cguide%3Dtrue%2Cproject_tweet%3Dtrue%2Csvn%3Dtrue%2Cteam%3Dtrue%2C015f0554;Path=/;Max-Age=259200";