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

@ian-p1nt0/envsync-sync

v0.1.1

Published

EnvSync environment synchronization engine

Readme

@ian-p1nt0/envsync-sync

Environment synchronization engine for EnvSync.

Overview

The sync package provides functionality for automatically synchronizing environments to fix detected drift.

Features

  • One-Click Sync: Automatically fix environment drift
  • Dry-Run Mode: Preview changes before applying
  • Auto-Fix Capability: Unattended synchronization
  • Rollback Mechanism: Safety rollback for failed syncs
  • Category-Based Filtering: Sync only specific categories
  • Safety Confirmations: User confirmation before making changes

Installation

npm install @ian-p1nt0/envsync-sync

Usage

import { EnvironmentSync } from '@ian-p1nt0/envsync-sync';
import { compareSnapshots } from '@ian-p1nt0/envsync-core';

// Get drift report from core package
const report = compareSnapshots(localSnapshot, remoteSnapshot);

// Create sync instance
const sync = new EnvironmentSync();

// Sync with options
const result = await sync.sync(report, {
  autoFix: false,      // Require confirmation
  dryRun: false,       // Actually apply changes
  categories: ['dependency', 'envvar'],  // Only sync these
});

console.log(`Succeeded: ${result.summary.succeeded}`);
console.log(`Failed: ${result.summary.failed}`);

API

EnvironmentSync.sync(driftReport, options?): Promise<SyncResult>

Synchronizes the local environment to match the remote.

Options:

  • autoFix?: boolean - Auto-fix without confirmation (default: false)
  • dryRun?: boolean - Preview changes only (default: false)
  • categories?: DriftCategory[] - Only sync specific categories
  • maxSeverity?: DriftSeverity - Only sync up to this severity

Returns:

  • SyncResult with success status and action details

Sync Actions

The sync engine can handle:

  • Dependencies: Install/update/remove npm packages
  • Environment Variables: Show required changes (manual intervention)
  • Docker: Pull missing images
  • Native Modules: Rebuild for compatibility
  • Node.js Version: Show upgrade instructions (manual intervention)

Safety Features

  • User confirmation required by default
  • Dry-run mode for previewing changes
  • Rollback point creation
  • Error handling with detailed messages
  • Category and severity filtering

Part of EnvSync

This is the synchronization package of the EnvSync ecosystem:

License

MIT

Repository

https://github.com/iAn-P1nt0/EnvSync