nyxblabs / mimikra

πŸ”„ Sleek data morphing tool from one file to another

Home Page:https://nyxb.xyz

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cover npm version npm downloads bundle License

Mimikra πŸ§™

Streamlined data metamorphosis instrument πŸͺ„

πŸ“¦ Duplicates all resources

πŸ–‡οΈ Backs Vue Single File Components

⚑ Swift and lean transformation by esbuild

πŸ“„ .d.ts creation for .ts, .js, tsx, jsx and .vue files

❓ Rationale πŸ€”

Library bundling isn't always the optimal route:

  • Original file layout vanishes
  • Modern syntax is lost due to transpilation
  • Critical CSS is sacrificed by moving it to a global dist (vue)
  • Dependencies persistently import from the bundle, regardless of usage (a secondary bundling phase might resolve this, but it's rare during development or for dependencies with side-effects)

Despite the existence of tools like tsc and @babel/cli, they primarily concentrate on transpilation rather than maintaining source-level quality. Furthermore, they're ill-equipped to manage custom extensions like .vue or resource duplication.

πŸš€ Deployment 🌟

npx mimikra [rootDir] [--src=src] [--dist=dist] [--pattern=glob [--pattern=more-glob]] [--format=cjs|esm] [-d|--declaration] [--ext=mjs|js|ts]

πŸ“œ License

MIT - Made with πŸ’ž

About

πŸ”„ Sleek data morphing tool from one file to another

https://nyxb.xyz

License:MIT License


Languages

Language:TypeScript 93.4%Language:JavaScript 3.4%Language:Vue 2.8%Language:SCSS 0.4%