Registry / type-stubs / xc-core-ts

xc-core-ts

JSON →
library0.1.0jsnpmunverified

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.

npm install xc-core-ts
INSTALL
IMPORT
SIG · XC-CORE-TS
X
xc-core-ts
type-stubsjavascriptv0.1.0
Install
Import
Disk
Pass rate
0/ 6
Env Coverage0 / 6
glibc
1822
musl
1822
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18223 runs
build_error
glibc
node 18223 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

myLib
import myLib from 'xc-core-ts'
const myLib = require('xc-core-ts')
ESM default export; CommonJS require might not work due to ESM-first setup.
something
import { something } from 'xc-core-ts/dist/lib/something'
import something from 'xc-core-ts/dist/lib/something'
Use named import for internal modules; default import may not be available.
Type definitions
import type { MyType } from 'xc-core-ts'
import { MyType } from 'xc-core-ts' (if only used as type)
TypeScript types are exported; use import type for type-only imports to avoid bundling.

Shows how to clone and use the starter template, then import the generated library.

// This is a starter template, not a library. To use it: // git clone https://github.com/alexjoverm/typescript-library-starter.git YOURFOLDERNAME // cd YOURFOLDERNAME // npm install // Then edit src/ to build your library. // To import the built library in another project: import myLib from 'xc-core-ts'; console.log(myLib);
Debug
Known issues
gotchaThis package is a template, not a functional library. Installing it as a dependency will provide no runtime API.
fix
Clone the repository and build your own library; do not npm install xc-core-ts for use as a dependency.
affects: >=0.0.0
deprecatedTSLint is used instead of ESLint; TSLint is deprecated in favor of ESLint with TypeScript support.
fix
Migrate to ESLint using packages like @typescript-eslint/eslint-plugin.
affects: >=0.0.0
gotchaGreenkeeper badge is present but Greenkeeper is deprecated; use Renovate or Dependabot instead.
fix
Remove Greenkeeper and set up Dependabot or Renovate for dependency updates.
affects: >=0.0.0
gotchaNode engine requirement is >=6.0.0, which is outdated. Modern TypeScript may not run on such old Node versions.
fix
Update engines field in package.json to >=10.0.0 or later.
affects: >=0.0.0
gotchaThe package uses RollupJS for bundling, but configuration may need adjustment for modern ESM and CJS outputs.
fix
Review rollup.config.js and update to latest Rollup plugin versions.
affects: >=0.0.0
Errors
Common errors & fixes
Cannot find module 'xc-core-ts'
Package is not a library; it's a starter template with no main entry point exporting useful code.
fix
Do not npm install xc-core-ts as a dependency. Clone the repo and build your own library.
TSLint is deprecated.
TSLint has been deprecated in favor of ESLint with TypeScript support.
fix
Replace TSLint with ESLint and @typescript-eslint/parser and plugin.
Error: Node version >=6.0.0 required.
Package.json engines field specifies outdated Node version.
fix
Update your Node.js version or modify the engines field to match your environment.
Upgrade
Version history
0.1.0latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
36 hits · last 30 days
node
30
OpenAI (training)
1
Resources
xc-core-ts — npm install xc-core-ts · libregistry