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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@eric.dahlseng/configuration-build

v0.1.2

Published

Build Configuration

Readme

Build Configuration

A collection of configuration files for transpilation and building.

Installation

npm install --save-dev @edahlseng/configuration-build

Usage

After installing, run npx configuration-build setup [build-types] to set up configuration for the desired build-types.

Available build-types:

  • javascript-browser (or js-browser)
  • javascript-module (or js-module)
  • javascript-node (or js-node)

Example

Running npx configuration-build setup js-module will add a babel key to a project's package.json file as well as the build script, configuring Babel to transpile the module's source into a dist/ folder.

API

This tool can be extended for use in a custom configuration library. To do so, create a file that can be run as a Node executable, and pass in an options object and the process global object to the setup function exported by this module:

#!/usr/bin/env node

import { setup } from '@eric.dahlseng/configuration-build';

setup({ process, options: { /* options here */}}).fork(console.error, () => {});

The options object should be a map where the keys are build types, and the values are objects with the following fields:

  • alternateNames (optional): An array of alternate names for the build type. This is useful for specifying abbreviations.
  • configurationFiles (optional): An array of objects containing a path and content
  • jsonData (optional): An array of objects containing filePath, dataPath, and content