A raw test harness for @goldlabelapps/virus — kept as close to the default bootstrapped scaffold as possible so results are clean and unambiguous.
| Layer | Choice |
|---|---|
| Bundler | Vite |
| UI library | React 18 |
| Language | TypeScript |
| Linting | ESLint 9 (flat config) |
Bootstrapped with:
npm create vite@latest -- --template react-tsThis repo exists solely to test the @goldlabelapps/virus npm package in a real React/TypeScript environment. No extra dependencies, no abstractions — just a minimal host app that imports and exercises the package.
npm i @goldlabelapps/virusimport { renderPackageInfo, PACKAGE_NAME, PACKAGE_VERSION } from '@goldlabelapps/virus';
console.log(renderPackageInfo());
// @goldlabelapps/virus v1.1.0
console.log(PACKAGE_NAME); // "@goldlabelapps/virus"
console.log(PACKAGE_VERSION); // "1.1.0"- Returns:
string - Format:
<package-name> v<package-version>
- Type:
string - Value:
@goldlabelapps/virus
- Type:
string - Value: current published version
npm install
npm run devMIT © Goldlabel°