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 🙏

© 2026 – Pkg Stats / Ryan Hefner

launchpack-assemble

v0.2.8

Published

Smooth Fusion LaunchPack's assembly engine

Downloads

141

Readme

LaunchPack Assemble

A TypeScript assembly engine for LaunchPack.

Inspired by Fabricator and Fabricator Assemble

Usage

const { LaunchPackAssembler } = require('launchpack-assemble');

const assembler = new LaunchPackAssembler(options);
assembler.assemble();

Options

Default Object

{
  layout: 'default',
  layouts: ['src/views/layouts/*'],
  layoutIncludes: ['src/views/layouts/includes/*'],
  views: ['src/views/**/*', '!src/views/+(layouts)/**'],
  materials: ['src/materials/**/*'],
  data: ['src/data/**/*.{json,yml}'],
  docs: ['src/docs/**/*.md'],
  keys: {
    materials: 'materials',
    views: 'views',
    docs: 'docs',
  },
  dest: 'dist',
  onError: undefined,
  logErrors: false,
  baseUrl: '',
  GLOBAL: {},
  helpers: {},
}

| Option | Type | Default | Description | | -------------- | ---------- | ---------------------------------------------------------- | ------------------------------------------------------------------------------------------- | | baseUrl | string | '' | Changes the baseurl path. | | data | string[] | ['src/data/**/*.{json,yml}'] | Paths to get data for views written in JSON or YAML. | | dest | string | 'dist' | Name of the destination folder of compiled files. | | docs | string[] | ['src/docs/**/*.md'] | Paths to markdown files containing documentation. | | GLOBAL | object | {} | Holds global values to use across the instance. Example: {{ GLOBAL.MY_VARIABLE }} | | helpers | object | {} | Custom handlebars helpers. Example: { hello: () => 'world' } | | keys | object | { materials: 'materials', views: 'views', docs: 'docs' } | Defines the names views will use when accessing different components. | | layout | string | 'default' | Name of the default layout template. | | layouts | string[] | ['src/views/layouts/*'] | Paths to files that are used as layout templates. | | layoutIncludes | string[] | ['src/views/layouts/includes/*'] | Paths to includes for layout templates. | | logErrors | boolean | false | If the assembler will log errors to the console instead of exiting. | | materials | string[] | ['src/materials/**/*'] | Paths to the materials to build your design system. | | onError | function | undefined | Function to run if there is an error. Takes an Error parameter. | | views | string[] | ['src/views/**/*', '!src/views/+(layouts)/**'] | Paths to pages to pass through the assembler. |

Development

Commands

npm run build - Builds the project

npm run commit - Runs commitizen to create a commit

npm run prettier:check - Checks if all the files conform to the Prettier settings

npm run prettier:write - Checks and fixes files to conform to the Prettier settings

npm run release - Runs Standard Version to automate versioning

npm run test - Runs all tests

npm run validate - Runs all commands to validate files and tests

Committing Changes

This project uses the Conventional Commits Specification. Follow this process when committing changes:

  1. Run git add . to stage all files. Or add files individually
  2. Run npm run commit instead to initialize the commit
  3. Follow the prompts to ensure the commit stays under the specification
  4. If there are any errors, fix them and start back at step 1

Releases

  1. Run npm run release to auto-version the project based on commits and push to master

Definitions

  • Layouts: Templates to wrap pages
  • Views: Individual pages
  • Materials: Components to be added to views
  • Data: Data to be used in views
  • Docs: Markdown files created for documentation