Socket
Book a DemoInstallSign in
Socket

@neodx/pkg-misc

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@neodx/pkg-misc

Collection of utilities for common cases in package development - smart dependencies updates, simple formatting with auto-detection of prettier config, etc.

0.0.11
latest
npmnpm
Version published
Maintainers
1
Created
Source

@neodx/pkg-misc

Work in progress, for internal purposes for now

Multiple utilities for common packages tasks:

  • Add/Remove dependencies
  • Format with Prettier
  • Check semver

Installation

# yarn
yarn add @neodx/pkg-misc
# pnpm
pnpm add @neodx/pkg-misc
# npm
npm install @neodx/pkg-misc

Usage

addPackageJsonDependencies

import { addPackageJsonDependencies } from '@neodx/pkg-misc';

addPackageJsonDependencies({ dependencies: { a: '^1.2.3' } }, { dependencies: { a: '^1.2.0' } });
// null (no changes)
addPackageJsonDependencies(
  { dependencies: { a: '^1.2.3' } },
  { dependencies: { a: '^1.2.0', b: '^1.2.0' } }
);
// { dependencies: { a: '^1.2.3', b: '^1.2.0' } } (added b)
addPackageJsonDependencies(
  { dependencies: { a: '^1.2.3' } },
  { dependencies: { a: '^1.3.0', b: '^2.0.0' } }
);
// { dependencies: { a: '^1.3.0', b: '^2.0.0' } } (updated a, added b)

WIP

FAQs

Package last updated on 22 Jul 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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.