{"id":27445,"library":"test-package","title":"Test Package","description":"A minimal test package with version 0.0.1. This package has no README and appears to be a placeholder or early-stage project. Its release cadence and key differentiators are unknown. No alternative comparisons are available. Use with caution as the API surface is undefined and may change without notice.","status":"active","version":"0.0.1","language":"javascript","source_language":"en","source_url":null,"tags":["javascript"],"install":[{"cmd":"npm install test-package","lang":"bash","label":"npm"},{"cmd":"yarn add test-package","lang":"bash","label":"yarn"},{"cmd":"pnpm add test-package","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"Assuming ESM default export; CJS may not be supported.","wrong":"const pkg = require('test-package')","symbol":"default","correct":"import pkg from 'test-package'"},{"note":"Use named import for named exports; default may not exist.","wrong":"import namedExport from 'test-package'","symbol":"namedExport","correct":"import { namedExport } from 'test-package'"},{"note":"If 'Type' is a TypeScript type, use type-only import for better isolation.","wrong":"import { Type } from 'test-package'","symbol":"Type","correct":"import type { Type } from 'test-package'"}],"quickstart":{"code":"import pkg from 'test-package'\n\n// Assuming a default export function\nconst result = pkg.doSomething({\n  key: process.env.KEY ?? 'fallback',\n})\nconsole.log(result)","lang":"javascript","description":"Shows basic import and usage with environment variable fallback for authentication key."},"warnings":[{"fix":"Pin version or use ^0.0.1 for unstable API.","message":"Package version 0.0.1 is pre-release and may break without major version bump.","severity":"gotcha","affected_versions":"0.0.1"}],"env_vars":null,"last_verified":"2026-04-25T00:00:00.000Z","next_check":"2026-07-24T00:00:00.000Z","problems":[{"fix":"Import from main entry: import pkg from 'test-package'","cause":"Using a subpath import that is not exported by the package.","error":"ERR_PACKAGE_PATH_NOT_EXPORTED: Package subpath './dist/index.js' is not defined by \"exports\" in package.json"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}