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

create-stride-app

v0.0.4

Published

Get a Stride app up and running in a few clicks.

Downloads

2

Readme

npm

create-stride-app

Inspired by create-react-app, this gives you a great Stride app development and deployment experience out of the box.

Usage

$ yarn create stride-app my-app
$ cd my-app
$ npm start

# npm also supported
$ npm install -g create-stride-app && create-stride-app my-app

Features

  • Automatic ngrok tunnel setup - injects ngrok URL into your app descriptor automatically and also updates your app on developer.atlassian.com during startup so you don't have to copy your ngrok URL each time (development mode only)
  • Express server set up out of the box with helpful security and logging middleware, and sensible mdefault routes (healthcheck, installed webhooks, etc) that can be overridden.
  • Transpiles all your server code in src/routes/*.js
  • Transpiles all your frontend code in src/client/*.js (supports React and Flow)
  • Watches your files and recompiles automatically
  • Each stride-scripts build command produces an optimized production build of your app

Development

To run in dev mode, just npm run start. This will compile your code, set up the Express server and ngrok tunnel, and watch for changes.

You should set the APP_CLIENT_ID and APP_CLIENT_SECRET environment variables, which are available at https://developer.atlassian.com/apps

APP_CLIENT_ID=... APP_CLIENT_SECRET=... npm run start

Automatically updating app listing with ngrok URL

It can be tedious to update developer.atlassian.com with your new ngrok URL each time you run npm start, so create-stride-app has an opt-in feature which will do it for you!

Just set the following environment variables:

  • APP_ID_DEV - get this from https://developer.atlassian.com/apps/<app-id> (make sure it's your development app not your prod app!)
  • DAC_ATL_SESSION_COOKIE - get this from the atl_session cookie set after you're logged in to developer.atlassian.com

Production

Once you're ready to deploy, just npm run build to produce an optimized /build directory with everything you need to deploy.

Todo

  • CSS/Less import support
  • Jest support

Enjoy!