Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

path-minifier

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

path-minifier - npm Package Compare versions

Comparing version 0.0.1 to 1.0.0

55

package.json
{
"name": "path-minifier",
"description": "🔥 Minify the path list while preserving semantics",
"version": "0.0.1",
"version": "1.0.0",
"main": "dist/index.js",

@@ -13,6 +13,3 @@ "type": "module",

"dist",
"!**/*.test.*",
"!**/*.spec.*",
"!*.test.*",
"!*.spec.*"
"!**/*.test.*"
],

@@ -40,4 +37,6 @@ "exports": {

"list",
"llm",
"minify",
"path",
"token",
"tree"

@@ -53,37 +52,23 @@ ],

"lint": "npm run check && npx eslint .",
"format": "npx prettier --write . --plugin prettier-plugin-svelte .",
"format": "npx @jill64/psx",
"test": "vitest",
"test:e2e": "playwright test"
},
"prettier": "@jill64/prettier-config",
"devDependencies": {
"@jill64/sentry-sveltekit-cloudflare": "1.0.0",
"@jill64/svelte-dark-theme": "2.1.0",
"@jill64/svelte-input": "1.3.0",
"@jill64/svelte-ogp": "0.1.0",
"@jill64/svelte-toast": "1.0.2",
"@jill64/tailwind-grid-auto": "1.2.0",
"@jill64/tailwind-reactions": "1.1.0",
"@jill64/typed-storage": "1.0.1",
"@playwright/test": "1.39.0",
"@sveltejs/adapter-cloudflare": "2.3.3",
"@sveltejs/kit": "1.27.5",
"@typescript-eslint/eslint-plugin": "6.10.0",
"@typescript-eslint/parser": "6.10.0",
"autoprefixer": "10.4.16",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-deprecation": "2.0.0",
"eslint-plugin-svelte": "2.35.0",
"@jill64/cf-tiktoken": "0.1.0",
"postcss": "8.4.31",
"postcss-load-config": "4.0.1",
"prettier-plugin-svelte": "3.1.0",
"svelte": "4.2.3",
"svelte-feather-icons": "4.0.1",
"svelte-inline-modal": "1.0.0",
"svelte-qparam": "0.0.1",
"tailwindcss": "3.3.5",
"typescript": "5.2.2",
"vite": "4.5.0",
"vitest": "0.34.6"
"@jill64/cf-tiktoken": "1.0.0",
"@jill64/eslint-config-svelte": "1.0.1",
"@jill64/playwright-config": "1.4.2",
"@jill64/prettier-config": "1.0.0",
"@jill64/sentry-sveltekit-cloudflare": "1.5.0",
"@jill64/svelte-suite": "0.0.24",
"@jill64/svelte-tailwind": "1.0.0",
"@playwright/test": "1.40.1",
"@sveltejs/adapter-cloudflare": "2.3.4",
"@sveltejs/kit": "1.27.7",
"svelte": "4.2.8",
"typescript": "5.3.3",
"vite": "5.0.7",
"vitest": "1.0.2"
}
}

@@ -5,6 +5,13 @@ <!----- BEGIN GHOST DOCS HEADER ----->

[![npm-version](https://img.shields.io/npm/v/path-minifier)](https://npmjs.com/package/path-minifier) [![npm-license](https://img.shields.io/npm/l/path-minifier)](https://npmjs.com/package/path-minifier) [![npm-download-month](https://img.shields.io/npm/dm/path-minifier)](https://npmjs.com/package/path-minifier) [![npm-min-size](https://img.shields.io/bundlephobia/min/path-minifier)](https://npmjs.com/package/path-minifier) [![ci.yml](https://github.com/jill64/path-minifier/actions/workflows/ci.yml/badge.svg)](https://github.com/jill64/path-minifier/actions/workflows/ci.yml) [![codecov-coverage](https://codecov.io/gh/jill64/path-minifier/graph/badge.svg)](https://codecov.io/gh/jill64/path-minifier)
[![npm-version](https://img.shields.io/npm/v/path-minifier)](https://npmjs.com/package/path-minifier) [![npm-license](https://img.shields.io/npm/l/path-minifier)](https://npmjs.com/package/path-minifier) [![npm-download-month](https://img.shields.io/npm/dm/path-minifier)](https://npmjs.com/package/path-minifier) [![npm-min-size](https://img.shields.io/bundlephobia/min/path-minifier)](https://npmjs.com/package/path-minifier) [![ci.yml](https://github.com/jill64/path-minifier/actions/workflows/ci.yml/badge.svg)](https://github.com/jill64/path-minifier/actions/workflows/ci.yml) [![website](https://img.shields.io/website?up_message=working&down_message=down&url=https%3A%2F%2Fpath-minifier.jill64.dev)](https://path-minifier.jill64.dev)
🔥 Minify the path list while preserving semantics
## [Demo](https://path-minifier.jill64.dev)
<!----- END GHOST DOCS HEADER ----->
This is a utility to reduce the number of characters in a path listing while maintaining the semantics of the directory structure and file names.
It was created primarily to reduce the number of tokens used when passing directory information to LLM (e.g. ChatGPT, GPT-4).
## Installation

@@ -16,7 +23,2 @@

<!----- END GHOST DOCS HEADER ----->
This is a utility to reduce the number of characters in a path listing while maintaining the semantics of the directory structure and file names.
It was created primarily to reduce the number of tokens used when passing directory information to LLM (e.g. ChatGPT, GPT-4).
## Example

@@ -23,0 +25,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc