npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@syncrona/typescript-plugin

v1.0.0

Published

SyncroNow AI build plugin that type-checks and transpiles .ts files with the TypeScript compiler (honors tsconfig.json).

Readme

@syncrona/typescript-plugin

| npm | node | license | CI | TypeScript | |:--:|:--:|:--:|:--:|:--:|

Overview

SyncroNow AI is the ServiceNow scoped-application toolchain behind the syncrona CLI. This package is one of its build plugins: register it in the rules array of your sync.config.js and syncrona build runs it over every matching file.

This plugin allows you to run the TypeScript compiler on .ts files. Supports tsconfig.json files.

Installation

npm i -D @syncrona/typescript-plugin

Options

| Key | Type | Default | Description | | ----------------- | ---------------------------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | | transpile | boolean | true | Whether or not the contents of the typescript file should be transpiled. Useful if you want to use Babel to transpile instead but still want type checking | | compilerOptions | typescript.CompilerOptions | null | Same as compilerOptions in a tsconfig.json file |

Order of Configurations

Later entries win on every overlapping key:

  1. tsconfig.json — the nearest one found by walking up from the file being compiled, with its extends chain resolved. This is the base.
  2. compilerOptions from sync.config.js — merged on top, so a value set here overrides the same key in tsconfig.json. Both the string spelling (target: "ES2021") and an already-resolved typescript.ScriptTarget value are accepted; an unparsable value fails the push instead of being ignored.
  3. The plugin's own defaults, applied only where neither source set the key:
    • targetES2021, the ECMAScript level current ServiceNow releases support. Pinned deliberately, because TypeScript's own default tracks the newest language level and changes between compiler majors.
    • module → follows the effective target (ES2015 for an ES2015+ target, CommonJS below it), which is what TypeScript 5 did before its default moved.
    • moduleResolutionBundler, but only where TypeScript would otherwise default to Classic, which cannot see node_modules at all. A tsconfig.json that already implies a node-aware resolution is left alone.
    • alwaysStrictfalse for the emit when neither strict nor alwaysStrict was configured anywhere, so the transpiled output carries no "use strict" prologue. ServiceNow scripts lean on implicit globals, which strict mode turns into runtime errors.

The same effective option set drives the type check and the emit, so a knob that relaxes checking (noImplicitAny, skipLibCheck, strict) really does unblock a push.

Example Usage

This example takes .ts files and only type checks them.

// sync.config.js
module.exports = {
  rules: [
    {
      match: /\.ts$/,
      plugins: [
        {
          name: "@syncrona/typescript-plugin",
          options: {
            transpile: false,
          },
        },
      ],
    },
  ],
};