Registry / devops / saso
library5.0.2jsnpmunverified

Zero-configuration bundler for building modern JavaScript/TypeScript applications, currently at v5.0.2. It provides a fast, opinionated build process without configuration files, supporting both CommonJS and ESM outputs. Key differentiators include an intuitive CLI, built-in support for JSX, TypeScript, and CSS modules, and a plugin system for extensibility. Minimal setup required — ideal for quick prototypes or small-to-medium projects. Released under ISC license.

npm install saso
INSTALL
IMPORT
SIG · SASO
S
saso
devopsjavascriptv5.0.2
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 saso from 'saso'
const saso = require('saso')
ESM-only since v5, default export provides build function.
build
import { build } from 'saso'
const { build } = require('saso')
Named export for programmatic build.
SasoConfig
import { SasoConfig } from 'saso'
import SasoConfig from 'saso'
TypeScript type export, available as type only.

Programmatic build using Saso's default export with entry, output, format, and minification options.

import saso from 'saso'; saso({ entry: './src/index.tsx', outfile: './dist/bundle.js', format: 'esm', minify: true, }).then(() => console.log('Build complete')).catch(console.error);
saso --version
Debug
Known issues
breakingsaso v5 migrated to ESM-only. CommonJS require() will throw ERR_REQUIRE_ESM.
fix
Use import syntax or upgrade to ESM project.
affects: >=5.0.0
breakingDefault export changed from object to function in v4.
fix
Update to new API: saso(options) instead of new saso.Saso().
affects: >=4.0.0 <5.0.0
deprecatedsaso v3 API using 'new Saso()' is removed.
fix
Migrate to functional API saso(options).
affects: >=4.0.0
gotchaConfiguration file saso.config.js is ignored if programmatic API is used.
fix
Either use CLI or programmatic API exclusively.
affects: >=4.0.0
Errors
Common errors & fixes
TypeError: saso is not a function
Using default import after v5 which exports a function, but bundler may confuse with object.
fix
Ensure you import default as: import saso from 'saso' (not as object destructuring).
Cannot find module 'saso' when using require()
v5 is ESM-only, require() is not supported.
fix
Use import syntax or set type:"module" in package.json.
Error: Unknown option `entry` in SasoConfig
Using old v3 configuration shape with v5.
fix
Update config keys: use 'entry' as string, 'outfile' instead of 'output'.
Upgrade
Version history
5.0.2latest on npm
Audit
Dependencies
esbuildrequiredUnderlying bundler for high-performance builds
Agent activity
6 hits · last 30 days
node
6
Resources
saso — npm install saso · libregistry