{"id":20873,"library":"xc-core-ts","title":"xc-core-ts","description":"A TypeScript library starter project by Alex Jover Morales, version 0.1.0. It provides a zero-setup environment with RollupJS for optimized bundles, Jest for testing, Prettier and TSLint for code quality, TypeDoc for documentation, and automatic type generation. Supports tree-shaking and multi-platform bundles. Note: this is a starter template, not a library, but published as an npm package. Release cadence is unknown.","status":"active","version":"0.1.0","language":"javascript","source_language":"en","source_url":null,"tags":["javascript","typescript"],"install":[{"cmd":"npm install xc-core-ts","lang":"bash","label":"npm"},{"cmd":"yarn add xc-core-ts","lang":"bash","label":"yarn"},{"cmd":"pnpm add xc-core-ts","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"ESM default export; CommonJS require might not work due to ESM-first setup.","wrong":"const myLib = require('xc-core-ts')","symbol":"myLib","correct":"import myLib from 'xc-core-ts'"},{"note":"Use named import for internal modules; default import may not be available.","wrong":"import something from 'xc-core-ts/dist/lib/something'","symbol":"something","correct":"import { something } from 'xc-core-ts/dist/lib/something'"},{"note":"TypeScript types are exported; use import type for type-only imports to avoid bundling.","wrong":"import { MyType } from 'xc-core-ts' (if only used as type)","symbol":"Type definitions","correct":"import type { MyType } from 'xc-core-ts'"}],"quickstart":{"code":"// This is a starter template, not a library. To use it:\n// git clone https://github.com/alexjoverm/typescript-library-starter.git YOURFOLDERNAME\n// cd YOURFOLDERNAME\n// npm install\n// Then edit src/ to build your library.\n// To import the built library in another project:\nimport myLib from 'xc-core-ts';\nconsole.log(myLib);\n","lang":"typescript","description":"Shows how to clone and use the starter template, then import the generated library."},"warnings":[{"fix":"Clone the repository and build your own library; do not npm install xc-core-ts for use as a dependency.","message":"This package is a template, not a functional library. Installing it as a dependency will provide no runtime API.","severity":"gotcha","affected_versions":">=0.0.0"},{"fix":"Migrate to ESLint using packages like @typescript-eslint/eslint-plugin.","message":"TSLint is used instead of ESLint; TSLint is deprecated in favor of ESLint with TypeScript support.","severity":"deprecated","affected_versions":">=0.0.0"},{"fix":"Remove Greenkeeper and set up Dependabot or Renovate for dependency updates.","message":"Greenkeeper badge is present but Greenkeeper is deprecated; use Renovate or Dependabot instead.","severity":"gotcha","affected_versions":">=0.0.0"},{"fix":"Update engines field in package.json to >=10.0.0 or later.","message":"Node engine requirement is >=6.0.0, which is outdated. Modern TypeScript may not run on such old Node versions.","severity":"gotcha","affected_versions":">=0.0.0"},{"fix":"Review rollup.config.js and update to latest Rollup plugin versions.","message":"The package uses RollupJS for bundling, but configuration may need adjustment for modern ESM and CJS outputs.","severity":"gotcha","affected_versions":">=0.0.0"}],"env_vars":null,"last_verified":"2026-04-25T00:00:00.000Z","next_check":"2026-07-24T00:00:00.000Z","problems":[{"fix":"Do not npm install xc-core-ts as a dependency. Clone the repo and build your own library.","cause":"Package is not a library; it's a starter template with no main entry point exporting useful code.","error":"Cannot find module 'xc-core-ts'"},{"fix":"Replace TSLint with ESLint and @typescript-eslint/parser and plugin.","cause":"TSLint has been deprecated in favor of ESLint with TypeScript support.","error":"TSLint is deprecated."},{"fix":"Update your Node.js version or modify the engines field to match your environment.","cause":"Package.json engines field specifies outdated Node version.","error":"Error: Node version >=6.0.0 required."}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}