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

optimizely-cli

v0.17.0

Published

A command line application to create Optimizely experiments and publish via the API

Downloads

28

Readme

#Optimizely Command Line Interface

Codeship Status for FunnelEnvy/optimizely-cli
Code Climate Test Coverage

Optimizely-CLI (optcli) is a command line tool that lets developers build experiments faster by using the sofware tools you already love and publish to Optimizely when ready. We build a lot of tests at FunnelEnvy and found that (being stubborn engineers) we were more comfortable using our source editors and Git to develop locally - and this had a significant positive impact on our test velocity.

Optimizely-cli includes a command line executable that also integrates with either theTampermonkey (Google Chrome) or Greasemonkey (Firefox) extensions for local development / preview and the Optimizely API for publishing tests.

Brief intro below - for more usage details check out our Optimizely-CLI page.

Installation

npm install -g optimizely-cli

This will install the optcli executable on your system.

Dependencies

You'll need to have node.js installed locally to run optcli and either the Tampermonkey or Greasemonkey extensions to view variations locally.

Quickstart

optcli

View available commands

optcli init [options] [project_id]

Initializes a new Optimizely project locally (use -r for remote).

optcli experiment <experiment> <folder> <description>

Create a local experiment

optcli variation <experiment> <folder> <description>

Create a local variation

optcli host [options] <path> [port]

Host a variation locally. Point your browser at http(s)://localhost:8080 (default port) for usage info.

optcli push-experiment <path>

Push a local experiment to Optimizely.

optcli push-variation <path>

Push a local variation to Optimizely

Known Issues

  • Tests - We have some. We're adding more.

Release History

  • 0.15.0 Iteration option on push-experiment
  • 0.14.3 Added push-experiment, push-variation tests
  • 0.14.2 Show help when no arguments passed
  • 0.14.1 Bugfixes
  • 0.14.0 Move node client into separate module
  • 0.12.0 Bugfixes, more compliant with semver
  • 0.0.11 Separated create from push operations
  • 0.0.10 Refactored and cleanup
  • 0.0.7 Push
  • 0.0.2 Clone bug fix
  • 0.0.1 Initial release

Contributing

Please see CONTRIBUTING.md.

Copyright and license

Code copyright 2015 Celerius Group Inc. Released under the Apache 2.0 License.