Registry / devops / atom-js-transpiler

atom-js-transpiler

JSON →
library0.5.0jsnpmunverified

A utility to centralize transpilation across multiple Atom packages. It transpiles source files from a 'src' directory (supporting async/await, JSX, ES6, and type annotations) into a 'lib' directory. Version 0.5.0 is the last release; the package appears unmaintained since 2016. Differentiator: simple CLI tool for Atom package developers wanting consistent transpilation without per-package configuration. Note: relies on Babel under the hood, but is tightly coupled to Atom's package structure.

npm install atom-js-transpiler
INSTALL
IMPORT
SIG · ATOM-JS-TRANSPILER
A
atom-js-transpiler
devopsjavascriptv0.5.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

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

atom-js-transpile
node_modules/.bin/atom-js-transpile
require('atom-js-transpiler')
Used as a CLI command, not a library. Add to scripts.prepublish.

Add as a prepublish script in package.json to automatically transpile src/ to lib/ before publishing.

{ "scripts": { "prepublish": "node_modules/.bin/atom-js-transpile" } }
atom-js-transpiler --version
Debug
Known issues
deprecatedThis package is no longer maintained. Atom's package ecosystem has evolved, and many packages now use alternative build tools.
fix
Consider using Babel directly or a modern build system like Webpack or Rollup.
affects: >=0.0.0
breakingRequires source files in 'src/' and output in 'lib/'. Deviation from this structure will cause failures.
fix
Ensure source files are in a 'src' directory and that 'lib' is writable.
affects: >=0.0.0
gotchaThe tool runs on prepublish, which may not trigger correctly in all npm workflows (especially with npm@5+).
fix
Use 'prepare' instead of 'prepublish' in package.json scripts.
affects: >=0.0.0
Errors
Common errors & fixes
Error: Cannot find module 'atom-js-transpiler'
Trying to require it as a Node module instead of running as a CLI command.
fix
Run via npm script: "prepublish": "atom-js-transpile" (or specify full path).
sh: atom-js-transpile: command not found
The package is not installed locally or globally.
fix
Install as devDependency: npm install --save-dev atom-js-transpiler
Upgrade
Version history
0.5.0latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
8
OpenAI (training)
2
Resources
atom-js-transpiler — npm install atom-js-transpiler · libregistry