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

oss-this

v1.0.0

Published

Automate common open source repository setup tasks

Readme

oss-this

A Node.js package to automate adding common open source repository files to your project.

Features

  • Add GitHub pull request and issue templates
  • Add CONTRIBUTING.md and CONTRIBUTORS.md files
  • Add CODE_OF_CONDUCT.md
  • Add CHANGELOG.md with semantic versioning structure
  • Add licensing information (MIT license)

Installation

Global Installation (Recommended)

npm install -g oss-this

Local Installation

npm install oss-this --save-dev

Usage

Command Line Interface

After installing globally, you can use the oss-this command:

# Add all template files to the current directory
oss-this --all

# Add only GitHub templates
oss-this --github

# Add only contributing documentation
oss-this --contributing

# Add only code of conduct
oss-this --code-of-conduct

# Add only changelog
oss-this --changelog

# Add only license
oss-this --license

# Add all templates to a specific directory
oss-this --all --destination /path/to/your/project

Programmatic Usage

You can also use the package programmatically in your Node.js scripts:

const ossThis = require('oss-this');

// Add all template files
ossThis.addAll('/path/to/your/project')
  .then(() => console.log('All templates added successfully!'))
  .catch(err => console.error('Error:', err));

// Add only GitHub templates
ossThis.addGitHubTemplates('/path/to/your/project')
  .then(() => console.log('GitHub templates added successfully!'))
  .catch(err => console.error('Error:', err));

// Add only contributing documentation
ossThis.addContributing('/path/to/your/project')
  .then(() => console.log('Contributing docs added successfully!'))
  .catch(err => console.error('Error:', err));

// Add only code of conduct
ossThis.addCodeOfConduct('/path/to/your/project')
  .then(() => console.log('Code of conduct added successfully!'))
  .catch(err => console.error('Error:', err));

// Add only changelog
ossThis.addChangelog('/path/to/your/project')
  .then(() => console.log('Changelog added successfully!'))
  .catch(err => console.error('Error:', err));

// Add only license
ossThis.addLicense('/path/to/your/project')
  .then(() => console.log('License added successfully!'))
  .catch(err => console.error('Error:', err));

Templates

All templates are located in the templates directory of the package:

  • GitHub templates: PR template and issue templates (bug report, feature request)
  • Documentation: CONTRIBUTING.md, CONTRIBUTORS.md, CODE_OF_CONDUCT.md, CHANGELOG.md
  • License: MIT license

Customization

After adding the templates to your project, you should customize them to fit your project's specific needs:

  1. Replace [Project Name] with your actual project name
  2. Update the license with the correct year and copyright holder
  3. Customize the CONTRIBUTING.md guidelines to match your project's workflow
  4. Update the CHANGELOG.md with your project's actual releases

License

MIT