New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

create-include

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-include

Interactive tool to configure package.json files field

latest
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

create-include

A tool for interactively configuring the files field in your npm package's package.json.

Usage

Run the following command in your project directory: npm init include

This will guide you through an interactive process to configure which files and directories should be included in your npm package. Selected files will be added to the files field in your package.json.

Features

  • Automatically includes essential files: dist, package.json, README.md, LICENSE
  • Supports adding custom files or directories (default: no)
  • Smart merging with existing files configuration (automatic deduplication)
  • Simple and intuitive interactive interface

How it works

  • The tool automatically includes default essential files without confirmation
  • Asks if you need to add other custom files (default: no)
  • If you choose to add, prompts for filename input with validation
  • Allows multiple custom file additions until you finish
  • Updates package.json with the final selected files in the files field

License

MIT

Keywords

npm

FAQs

Package last updated on 11 Oct 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts