{"_id":"@brashkie/media-codecs","_rev":"3-0d46266e52d0f7a9639e9e30d27aa434","name":"@brashkie/media-codecs","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@brashkie/media-codecs","version":"0.1.0","keywords":["codec","decoder","encoder","pcm","audio","video","kryx","multimedia","rust","napi","esm","commonjs"],"author":{"name":"Brashkie"},"license":"Apache-2.0","_id":"@brashkie/media-codecs@0.1.0","maintainers":[{"name":"brashkie","email":"fabianoarjunken@gmail.com"}],"homepage":"https://github.com/Brashkie/media-codecs#readme","bugs":{"url":"https://github.com/Brashkie/media-codecs/issues"},"dist":{"shasum":"bd2e06488ce175152b064609349c1a0bb1aa268d","tarball":"https://registry.npmjs.org/@brashkie/media-codecs/-/media-codecs-0.1.0.tgz","fileCount":16,"integrity":"sha512-HKeoXu6eJEGXdhZ71OvwmMQWkhGh6edBkYEZtev0DSLjQHHLd9UpgjNEWhfLuFPeXX1dC8Az/qE3yxCbaN94DA==","signatures":[{"sig":"MEUCIHWnEJwbPr2SK7MTtH1pQKzEhbnwpe1jKGgcbdCmC5K+AiEA9fpfcM7jKP2TUBM/sDDzFeLQN+XIlywanlJNE2cFA/8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":270679},"main":"./dist/index.cjs","napi":{"name":"media-codecs","triples":{"defaults":true,"additional":["x86_64-unknown-linux-musl","aarch64-unknown-linux-gnu","aarch64-apple-darwin","aarch64-pc-windows-msvc"]}},"type":"commonjs","types":"./dist/index.d.ts","module":"./dist/index.mjs","engines":{"node":">= 18"},"exports":{".":{"types":{"import":"./dist/index.d.mts","require":"./dist/index.d.cts"},"import":"./dist/index.mjs","default":"./dist/index.cjs","require":"./dist/index.cjs"},"./package.json":"./package.json"},"gitHead":"9bdbb142841e317872f133e6b1fcdd16a3e2250b","scripts":{"lint":"eslint \"src/**/*.ts\" \"__tests__/**/*.ts\"","test":"npm run test:rust && npm run test:vitest && npm run test:dual","build":"npm run build:native && npm run build:ts","clean":"node -e \"const fs=require('fs');['dist','target','index.js','index.d.ts','npm'].forEach(p=>fs.rmSync(p,{recursive:true,force:true}));fs.readdirSync('.').filter(f=>f.endsWith('.node')).forEach(f=>fs.rmSync(f,{force:true}));console.log('✓ Cleaned')\"","clippy":"cargo clippy --workspace --all-targets -- -D warnings","format":"prettier --write \"src/**/*.{ts,js}\" \"__tests__/**/*.ts\"","version":"napi version","build:ts":"tsup && node scripts/fix-dts.js","examples":"npm run example:cjs && npm run example:esm && npm run example:ts","artifacts":"napi artifacts","test:dual":"node __tests__/cjs.test.cjs && node __tests__/esm.test.mjs","test:rust":"cross-env CARGO_INCREMENTAL=0 cargo test --workspace --exclude codecs-node","typecheck":"tsc --noEmit","example:ts":"tsx examples/ts-example.ts","test:watch":"cross-env VITE_CJS_IGNORE_WARNING=true vitest","build:debug":"npm run build:native:debug && npm run build:ts","example:cjs":"node examples/cjs-example.cjs","example:esm":"node examples/esm-example.mjs","format:rust":"cargo fmt --all","test:vitest":"cross-env VITE_CJS_IGNORE_WARNING=true vitest run","build:native":"napi build --platform --release --cargo-cwd crates/codecs-node --js index.js --dts index.d.ts","preartifacts":"node scripts/create-npm-dirs.js","test:coverage":"cross-env VITE_CJS_IGNORE_WARNING=true vitest run --coverage","test:coverage:ui":"cross-env VITE_CJS_IGNORE_WARNING=true vitest --coverage --ui","build:native:debug":"napi build --platform --cargo-cwd crates/codecs-node --js index.js --dts index.d.ts"},"_npmUser":{"name":"brashkie","email":"fabianoarjunken@gmail.com"},"deprecated":"[DEPRECATED] Migrated to @kryxjs/codecs. Run: npm install @kryxjs/codecs. See https://github.com/Brashkie/kryx-codecs","repository":{"url":"git+https://github.com/Brashkie/media-codecs.git","type":"git"},"_npmVersion":"10.8.2","description":"Codec framework for the Kryx multimedia ecosystem — registry, decoder/encoder traits, and built-in PCM codecs (s16le, s32le, f32le, f64le)","directories":{},"_nodeVersion":"18.20.8","dependencies":{"@brashkie/media-core":"^0.1.4"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","tsup":"^8.0.1","eslint":"^8.57.0","vitest":"^1.2.0","prettier":"^3.2.0","cross-env":"^7.0.3","@vitest/ui":"^1.2.0","typescript":"^6.0.3","@types/node":"^20.11.0","@napi-rs/cli":"2.18.4","@vitest/coverage-v8":"^1.2.0","@typescript-eslint/parser":"^7.0.0","@typescript-eslint/eslint-plugin":"^7.0.0"},"optionalDependencies":{"@brashkie/media-codecs-darwin-x64":"0.1.0","@brashkie/media-codecs-darwin-arm64":"0.1.0","@brashkie/media-codecs-linux-x64-gnu":"0.1.0","@brashkie/media-codecs-linux-x64-musl":"0.1.0","@brashkie/media-codecs-win32-x64-msvc":"0.1.0","@brashkie/media-codecs-linux-arm64-gnu":"0.1.0","@brashkie/media-codecs-win32-arm64-msvc":"0.1.0"},"_npmOperationalInternal":{"tmp":"tmp/media-codecs_0.1.0_1779929021604_0.348869165725439","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@brashkie/media-codecs","version":"0.1.1","description":"[DEPRECATED] Migrated to @kryxjs/codecs. Run: npm install @kryxjs/codecs. See https://github.com/Brashkie/kryx-codecs","type":"commonjs","main":"./dist/index.cjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{".":{"types":{"import":"./dist/index.d.mts","require":"./dist/index.d.cts"},"import":"./dist/index.mjs","require":"./dist/index.cjs","default":"./dist/index.cjs"},"./package.json":"./package.json"},"scripts":{"preartifacts":"node scripts/create-npm-dirs.js","artifacts":"napi artifacts","build:native":"napi build --platform --release --cargo-cwd crates/codecs-node --js index.js --dts index.d.ts","build:native:debug":"napi build --platform --cargo-cwd crates/codecs-node --js index.js --dts index.d.ts","build:ts":"tsup && node scripts/fix-dts.js","build":"npm run build:native && npm run build:ts","build:debug":"npm run build:native:debug && npm run build:ts","typecheck":"tsc --noEmit","test":"npm run test:rust && npm run test:vitest && npm run test:dual","test:vitest":"cross-env VITE_CJS_IGNORE_WARNING=true vitest run","test:watch":"cross-env VITE_CJS_IGNORE_WARNING=true vitest","test:rust":"cross-env CARGO_INCREMENTAL=0 cargo test --workspace --exclude codecs-node","test:dual":"node __tests__/cjs.test.cjs && node __tests__/esm.test.mjs","test:coverage":"cross-env VITE_CJS_IGNORE_WARNING=true vitest run --coverage","test:coverage:ui":"cross-env VITE_CJS_IGNORE_WARNING=true vitest --coverage --ui","example:cjs":"node examples/cjs-example.cjs","example:esm":"node examples/esm-example.mjs","example:ts":"tsx examples/ts-example.ts","examples":"npm run example:cjs && npm run example:esm && npm run example:ts","lint":"eslint \"src/**/*.ts\" \"__tests__/**/*.ts\"","format":"prettier --write \"src/**/*.{ts,js}\" \"__tests__/**/*.ts\"","format:rust":"cargo fmt --all","clippy":"cargo clippy --workspace --all-targets -- -D warnings","clean":"node -e \"const fs=require('fs');['dist','target','index.js','index.d.ts','npm'].forEach(p=>fs.rmSync(p,{recursive:true,force:true}));fs.readdirSync('.').filter(f=>f.endsWith('.node')).forEach(f=>fs.rmSync(f,{force:true}));console.log('✓ Cleaned')\"","version":"napi version"},"keywords":["deprecated","moved","kryxjs","codec","decoder","encoder","pcm","audio","video","kryx","multimedia","rust","napi","esm","commonjs"],"author":{"name":"Brashkie"},"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/Brashkie/media-codecs.git"},"bugs":{"url":"https://github.com/Brashkie/kryx-codecs/issues"},"homepage":"https://github.com/Brashkie/kryx-codecs#readme","engines":{"node":">= 18"},"napi":{"name":"media-codecs","triples":{"defaults":true,"additional":["x86_64-unknown-linux-musl","aarch64-unknown-linux-gnu","aarch64-apple-darwin","aarch64-pc-windows-msvc"]}},"dependencies":{"@brashkie/media-core":"^0.1.4"},"optionalDependencies":{"@brashkie/media-codecs-win32-x64-msvc":"0.1.1","@brashkie/media-codecs-win32-arm64-msvc":"0.1.1","@brashkie/media-codecs-darwin-x64":"0.1.1","@brashkie/media-codecs-darwin-arm64":"0.1.1","@brashkie/media-codecs-linux-x64-gnu":"0.1.1","@brashkie/media-codecs-linux-x64-musl":"0.1.1","@brashkie/media-codecs-linux-arm64-gnu":"0.1.1"},"devDependencies":{"@napi-rs/cli":"2.18.4","@types/node":"^20.11.0","@typescript-eslint/eslint-plugin":"^7.0.0","@typescript-eslint/parser":"^7.0.0","@vitest/coverage-v8":"^1.2.0","@vitest/ui":"^1.2.0","cross-env":"^7.0.3","eslint":"^8.57.0","prettier":"^3.2.0","tsup":"^8.0.1","tsx":"^4.7.0","typescript":"^6.0.3","vitest":"^1.2.0"},"_id":"@brashkie/media-codecs@0.1.1","gitHead":"fae29348a8b3630c68c237318b18c9fe2f9fd635","_nodeVersion":"18.20.8","_npmVersion":"10.8.2","dist":{"integrity":"sha512-fs7eDvCEm4oHzWJ+I47YiaIdkd87pG+gxzfgBx4vcbxu0w+UNF7bhjfVhYdBHJoHs5IsbHHbBnscrqm4n/1hUg==","shasum":"284ff2c45047ac06524c86efd69f17ff5bc407e4","tarball":"https://registry.npmjs.org/@brashkie/media-codecs/-/media-codecs-0.1.1.tgz","fileCount":16,"unpackedSize":267825,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCICg2TuHW6BzR32O5vGMLKzUrStdYiyKIfEKXuctS9KGrAiEA+YkfHcdTOfD/lZfTNdumEbBYGcCcVia9g65CvUVkIjE="}]},"_npmUser":{"name":"brashkie","email":"fabianoarjunken@gmail.com"},"directories":{},"maintainers":[{"name":"brashkie","email":"fabianoarjunken@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/media-codecs_0.1.1_1781480630097_0.03077233048491146"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-28T00:43:41.447Z","modified":"2026-06-14T23:43:50.376Z","0.1.0":"2026-05-28T00:43:41.791Z","0.1.1":"2026-06-14T23:43:50.261Z"},"bugs":{"url":"https://github.com/Brashkie/kryx-codecs/issues"},"author":{"name":"Brashkie"},"license":"Apache-2.0","homepage":"https://github.com/Brashkie/kryx-codecs#readme","keywords":["deprecated","moved","kryxjs","codec","decoder","encoder","pcm","audio","video","kryx","multimedia","rust","napi","esm","commonjs"],"repository":{"type":"git","url":"git+https://github.com/Brashkie/media-codecs.git"},"description":"[DEPRECATED] Migrated to @kryxjs/codecs. Run: npm install @kryxjs/codecs. See https://github.com/Brashkie/kryx-codecs","maintainers":[{"name":"brashkie","email":"fabianoarjunken@gmail.com"}],"readme":"<div align=\"center\">\n\n# ⚠️ @brashkie/media-codecs — DEPRECATED ⚠️\n\n</div>\n\n> [!WARNING]\n> ### This package has been moved to [`@kryxjs/codecs`](https://www.npmjs.com/package/@kryxjs/codecs)\n>\n> Development continues at **[`github.com/Brashkie/kryx-codecs`](https://github.com/Brashkie/kryx-codecs)**.\n>\n> No new features will be added here. Only critical security fixes (if any) until end of 2026.\n\n---\n\n## 🚀 Migrate now\n\n```bash\nnpm uninstall @brashkie/media-codecs @brashkie/media-core\nnpm install @kryxjs/codecs @kryxjs/core\n```\n\nUpdate your imports:\n\n```diff\n- import { createDecoder, CodecRegistry } from '@brashkie/media-codecs'\n- import { MediaError } from '@brashkie/media-core'\n+ import { createDecoder, CodecRegistry } from '@kryxjs/codecs'\n+ import { MediaError } from '@kryxjs/core'\n```\n\nThat's it. The public TypeScript API is **identical** — only the package names change.\n\n📖 **[Full migration guide](https://github.com/Brashkie/kryx-codecs/blob/main/docs/MIGRATION.md)**\n\n---\n\n## What's the difference?\n\n| Aspect | `@brashkie/media-codecs@0.1.0` | `@kryxjs/codecs@0.1.0` |\n|--------|-------------------------------|-----------------------|\n| Status | 🔴 Deprecated | 🟢 Active development |\n| Repo | `Brashkie/media-codecs` | [`Brashkie/kryx-codecs`](https://github.com/Brashkie/kryx-codecs) |\n| Depends on | `@brashkie/media-core@^0.1.4` | `@kryxjs/core@^0.1.0` |\n| TypeScript API | identical | identical |\n| Future features | ❌ none | ✅ all new work happens here |\n\nThe successor package is part of the broader **[Kryx](https://github.com/Brashkie/kryx-core)** ecosystem — a modular alternative to FFmpeg for Node.js, organized under the `@kryxjs/*` scope.\n\n---\n\n## Why the rename?\n\nThe `@kryxjs/*` scope groups all packages of the Kryx ecosystem together (`@kryxjs/core`, `@kryxjs/codecs`, `@kryxjs/codecs-opus`, etc.), making the ecosystem easier to discover and maintain.\n\n`@brashkie/media-codecs` was the prototype name. `@kryxjs/codecs` is the production name.\n\n---\n\n## What did NOT change\n\n- Public TypeScript API (every class, function, type, signature)\n- `Codec` / `Decoder` / `Encoder` traits\n- `CodecRegistry` global singleton API\n- Built-in PCM codecs (`pcm_s16le`, `pcm_s32le`, `pcm_f32le`, `pcm_f64le`)\n- `CodecError` hierarchy\n- ESM + CJS dual format\n- Per-platform native binaries (7 platforms)\n- Node.js ≥18 requirement\n\n---\n\n## Status\n\n- `@brashkie/media-codecs@0.1.0` is the **last functional version** (now deprecated).\n- No new features will land here. Only critical security fixes (if any) until end of 2026.\n\n---\n\n## Need help migrating?\n\n[Open a discussion on the new repo](https://github.com/Brashkie/kryx-codecs/discussions) or [file an issue](https://github.com/Brashkie/kryx-codecs/issues).\n\n---\n\n<div align=\"center\">\n\n**👉 Go to [`@kryxjs/codecs`](https://www.npmjs.com/package/@kryxjs/codecs) 👈**\n\n[English](README.md) · [Español](README.es.md)\n\n</div>","readmeFilename":"README.md"}