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

recce

v5.5.23

Published

Development tools for TypeScript libraries.

Downloads

43

Readme

Recce

Build Status Code Coverage License

Usage

$ npm install -g recce
$ recce COMMAND
running command...
$ recce (-v|--version|version)
recce/5.5.23 linux-x64 node-v14.15.4
$ recce --help [COMMAND]
USAGE
  $ recce COMMAND
...

Commands

recce build

Bundle the library for publishing.

USAGE
  $ recce build

OPTIONS
  -e, --entry=path            Path to the library entry point(s).
                              Can be specified multiple times.

  -m, --module=cjs|umd|esm    CommonJS, Universal Module Definition or EcmaScript modules.
                              EcmaScript modules are always enabled.
                              Can be specified multiple times.

  -o, --output=directory      Redirect output structure to a directory.

  -p, --project=path          Path to project's configuration file, or to a folder with a 'tsconfig.json'.

  --[no-]clean                Delete the output directory in advance.
                              Enabled by default.

  --[no-]concatenate-modules  Find segments of the module graph which
                              can be safely concatenated into a single module.
                              Enabled by default.

  --machine-readable          Produce machine readable JSON output.

  --[no-]minimize             Emit minifed JavaScript. Enalbed by default.

  --stats                     Write JSON files with compilation statistics.

EXAMPLES
  $ recce build -p [directory] -m esm -e src/hello.ts
  $ recce build -p [directory] -m cjs -e src/hello.ts -e src/world.ts
  $ recce build -m cjs -m umd -m esm -e src/hello.ts -e src/world.ts
  $ recce build --no-clean --no-minimize -m umd -e src/hello.ts

recce help [COMMAND]

Print usage and options.

USAGE
  $ recce help [COMMAND]

ARGUMENTS
  COMMAND  Command to show help for.

OPTIONS
  --all  See all commands in CLI.

recce test

Run tests on Node.js and in the browser.

USAGE
  $ recce test

OPTIONS
  -b, --browser=pattern       Glob pattern that matches test files to run on Node.js.
                              Can be specified multiple times.

  -n, --node=pattern          Glob pattern that matches test files to run in the browser.
                              Can be specified multiple times.

  -p, --project=path          Path to project's configuration file, or to a folder with a 'tsconfig.json'.

  --[no-]capture-console      Capture all console output and pipe it to the terminal.
                              Disabled by default.

  --[no-]coverage             Collect and report test coverage.
                              Enabled by default.

  --coverage-exclude=pattern  Glob pattern that matches files to execlude from coverage.
                              Can be specified multiple times.

  --reporter=reporter         Test coverage reporter(s): lcovonly, text, clover, cobertura, html,
                              json, json-summary, lcov, none, teamcity, text-lcov, text-summary.
                              Can be specified multiple times.

EXAMPLES
  $ recce test --browser 'src/**.spec.ts'
  $ recce test -p [directory] --browser 'src/**.spec.ts' --browser 'test/**.spec.ts'
  $ recce test -p [directory] --node 'src/**.spec.ts' --node 'test/**.spec.ts'
  $ recce test -p [directory] --node 'src/**.spec.ts' --browser 'src/**.spec.ts'