Registry / testing / printnode-ts

printnode-ts

JSON →
library0.0.1jsnpmunverified

A starter project for creating TypeScript libraries with zero setup. It provides RollupJS for optimized bundles, Jest for testing and coverage, Prettier and TSLint for code formatting, TypeDoc for automatic documentation, and optional semantic release with changelog generation. Version 0.0.1 is an early release; the package is not actively maintained and is intended as a template generator rather than a runtime library. It competes with other starters like create-react-library and tsdx, but is more opinionated.

npm install printnode-ts
INSTALL
IMPORT
SIG · PRINTNODE-TS
P
printnode-ts
testingjavascriptv0.0.1
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 18226 runs
build_error
glibc
node 18226 runs
build_error
Code
Verified usage

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

default
import myLib from 'printnode-ts'
The package is a template, so `myLib` is a placeholder; actual exports depend on your library's implementation.
something
import something from 'printnode-ts/dist/lib/something'
For modular imports from the `dist/lib` folder of your built library.
require
const myLib = require('printnode-ts')
const { default } = require('printnode-ts')
CJS require works with the default export; destructuring `default` is unnecessary and may cause errors.

Shows full setup: cloning the starter, creating a simple TypeScript export, building, and verifying the output.

// Clone the repository and set up your library name git clone https://github.com/alexjoverm/typescript-library-starter.git my-library cd my-library npm install // After setup, edit src/index.ts to export your API export function greet(name: string): string { return `Hello, ${name}!`; } // Build the library npm run build // Test it import { greet } from './dist'; console.log(greet('World')); // Hello, World!
Debug
Known issues
gotchaThis is a starter template, not a published library. The npm package 'printnode-ts' is likely a placeholder; the actual code from the README clones a repository, not installs from npm.
fix
Do not install 'printnode-ts' from npm expecting a usable library. Instead, use the template to scaffold your own library.
affects: >=0.0.0
deprecatedTSLint is deprecated in favor of ESLint. The starter uses TSLint which may cause compatibility issues with modern TypeScript.
fix
Migrate to ESLint with typescript-eslint plugin.
affects: *
gotchaThe 'engines' field in package.json specifies Node >=6.0.0, but contemporary TypeScript and Rollup plugins may require Node 10+.
fix
Update engines to Node >=12 or use an older version of dependencies.
affects: *
gotchaGreenkeeper badge is outdated; the service has been rebranded to Greenkeeper (later acquired) and may not work.
fix
Remove Greenkeeper badge or replace with Renovate or Dependabot configuration.
affects: *
Errors
Common errors & fixes
Cannot find module 'printnode-ts'
The package 'printnode-ts' is not published on npm; it's a placeholder from the starter.
fix
Use the starter template to create your own library; do not npm install 'printnode-ts'.
Error: TSLint is not installed
The starter expects TSLint as a devDependency but may not be installed if you skipped npm install.
fix
Run npm install from the cloned repository root.
TypeError: Cannot destructure property 'default' of ...
Using `const { default } = require('mylib')` when the CommonJS module exports as default directly.
fix
Use `const myLib = require('mylib')` instead.
Upgrade
Version history
0.0.1latest on npm
Audit
Dependencies
rolluprequiredUsed for bundling output formats (ESM, CJS, UMD).
jestrequiredTesting framework for unit tests and coverage.
prettierrequiredCode formatting tool integrated via TSLint.
typescriptrequiredCore language for type-safe library development.
Agent activity
10 hits · last 30 days
node
10
Resources
printnode-ts — npm install printnode-ts · libregistry