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

appveyor-runner

v0.1.0

Published

Run multiple node.js versions on one AppVeyor worker.

Downloads

3

Readme

appveyor-runner

Run multiple node.js versions on one AppVeyor worker.

Build status codecov Dependency Status devDependency Status

Installation

npm install --save-dev appveyor-runner

Usage

  1. Create file appveyor-runner.yml under project folder. Reference schema and example for file content.
  2. Write node_modules\.bin\appveyor-runner under test_script block in appveyor.yml file.

Schema

  • working_dir - The working directory to run scripts. Default to process.cwd() folder.
  • bin_dir - The directory to store the node.js binaries. Default to node_bin folder under working_dir.
  • log_dir - The directory to store execute ouput. Default to node_log folder under working_dir.
  • version - The target execute node.js version array. Semver versions are supported. Default is empty array.
  • script - The execute script array. The node_modules/.bin path is appended to PATH environment variable automatically. Default is empty script array.

For the directories, either relative or absolute path are OK. If it is relative path, it is resolved to appveyor-run.yml file directory.

Example

appveyor-runner.yml

working_dir: .\path\to\working_dir
bin_dir: C:\path\to\node_dir
log_dir: C:\path\to\log_dir

version:
  - 4.x
  - 6.x

script:
  - node --version
  - npm --version
  - npm run test

appveyor.yml

install:
  - npm -g install npm@3 && set PATH=%APPDATA%\npm;%PATH%
  - npm install

test_script:
  - node_modules\.bin\appveyor-runner

build: off

Limitation

  • The test cases must be run in different context. It means, two test cases cannot write to the same file. Use temporary file or folder to resolve this issue.
  • The project cannot use packages depending on node-gyp. The node-gyp package couples with specified node.js version. No effective solution is found for this issue.

Changelog

We use the Github release page to manage changelog.

License

MIT License.