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

freestyle-sync

v0.1.24

Published

Sync your current directory, it's dependencies, and your agent context into a VM. VM snapshots ensure only changes are uploaded.

Downloads

281

Readme

Freestyle Sync

Offload any development environment to a VM with 1 command. Authentication, agent context, and dependencies are automatically handled.

npx freestyle-sync

On it's first run, freestyle-sync creates freestyle-sync.config.mjs and configures a large set of default plugins. Plugins help sync parts of your development environment that require more complex logic than just copying the current directory's files.

import { defineConfig } from "freestyle-sync";
import { claudeAgentPlugin } from "@freestyle-sync/agent-claude";
import { codexAgentPlugin } from "@freestyle-sync/agent-codex";
import { copilotAgentPlugin } from "@freestyle-sync/agent-copilot";
import { awsAuthPlugin } from "@freestyle-sync/auth-aws";
import { azureAuthPlugin } from "@freestyle-sync/auth-azure";
import { dockerAuthPlugin } from "@freestyle-sync/auth-docker";
import { envAuthPlugin } from "@freestyle-sync/auth-env";
import { gcloudAuthPlugin } from "@freestyle-sync/auth-gcloud";
import { gitAuthPlugin } from "@freestyle-sync/auth-git";
import { githubCliAuthPlugin } from "@freestyle-sync/auth-github-cli";
import { npmAuthPlugin } from "@freestyle-sync/auth-npm";
import { sshAuthPlugin } from "@freestyle-sync/auth-ssh";
import { wranglerAuthPlugin } from "@freestyle-sync/auth-wrangler";
import { yarnAuthPlugin } from "@freestyle-sync/auth-yarn";
import { nextjsPlugin } from "@freestyle-sync/nextjs";
import { nodeNpmPlugin } from "@freestyle-sync/node-npm";
import { rustPlugin } from "@freestyle-sync/rust";
import { shellHistoryPlugin } from "@freestyle-sync/shell-history";
import { vitePlugin } from "@freestyle-sync/vite";

export default defineConfig({
    plugins: [
        envAuthPlugin(),
        gitAuthPlugin(),
        sshAuthPlugin(),
        githubCliAuthPlugin(),
        npmAuthPlugin(),
        yarnAuthPlugin(),
        wranglerAuthPlugin(),
        dockerAuthPlugin(),
        awsAuthPlugin(),
        azureAuthPlugin(),
        gcloudAuthPlugin(),
        nodeNpmPlugin(),
        nextjsPlugin(),
        vitePlugin(),
        rustPlugin(),
        claudeAgentPlugin(),
        codexAgentPlugin(),
        copilotAgentPlugin(),
        shellHistoryPlugin(),
    ],
});

You can also add personal plugins without changing the committed config. Put a local config at .freestyle-sync/config.mjs or .freestyle-sync/config.ts; .freestyle-sync is ignored by default, and its plugins are appended after the project config.

import { defineConfig } from "freestyle-sync";
import { myLocalPlugin } from "my-local-plugin";

export default defineConfig({
    plugins: [
        myLocalPlugin(),
    ],
});

If the local config adds plugins that have not been configured on this machine yet, freestyle-sync will ask whether to enable them on the next interactive sync.

You can exclude folders and include additional local paths. Include paths may point outside the project directory; they are copied into the remote project at the configured relative target.

export default defineConfig({
    sync: {
        exclude: ["dist", ".turbo"],
        include: [
            { source: "../shared-config", target: "shared-config" },
        ],
    }
});

The default Node/framework/runtime plugins avoid uploading generated dependency and build output folders:

nodeNpmPlugin() // excludes node_modules and installs frozen dependencies remotely
nextjsPlugin()  // excludes .next
vitePlugin()    // excludes dist, build, and .vite
rustPlugin()    // excludes target, installs Rust/Cargo, and runs cargo fetch

You can keep uploading those generated folders when needed:

nodeNpmPlugin({ syncNodeModules: true })
nextjsPlugin({ syncNextDir: true })
vitePlugin({ syncBuildOutput: true })
rustPlugin({ syncTargetDir: true })

If you're integrating freestyle-sync into your own toolchain, you can use it as an sdk and take full control over how configuration and cache is stored.

import { defineConfig, sync, type SyncCache } from "freestyle-sync";
import { gitAuthPlugin } from "@freestyle-sync/auth-git";
import { nodeNpmPlugin } from "@freestyle-sync/node-npm";

let cache: SyncCache | undefined;

const result = await sync({
    config: defineConfig({
        plugins: [gitAuthPlugin(), nodeNpmPlugin()],
    }),
    options: {
        projectRoot: process.cwd(),
        autoSsh: false,
    },
    cache,
    onCacheUpdate(nextCache) {
        cache = nextCache;
    },
});

console.log("synced runtime", result.vmId);