Registry / devops / ipaas-lint-cli

ipaas-lint-cli

JSON →
library2.0.6jsnpmunverified

A command-line interface tool for linting iPaaS configurations. Current stable version is 2.0.6. Built as a standalone CLI to validate and enforce rules within iPaaS environments. Key differentiators: specific to iPaaS domain, minimal dependencies, and designed for automation in CI/CD pipelines. Not actively maintained by a large community.

npm install ipaas-lint-cli
INSTALL
IMPORT
SIG · IPAAS-LINT-CLI
I
ipaas-lint-cli
devopsjavascriptv2.0.6
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.

default
import cli from 'ipaas-lint-cli'
const cli = require('ipaas-lint-cli')
Package provides a default export; ESM import preferred.
run
import { run } from 'ipaas-lint-cli'
const run = require('ipaas-lint-cli').run
Named export 'run' is available for programmatic use.
version
import { version } from 'ipaas-lint-cli'
const v = require('ipaas-lint-cli/version')
Version is exported directly from the package.

Shows how to import and run the linter programmatically with a config object and handle results asynchronously.

import cli from 'ipaas-lint-cli'; const options = { config: '.ipaaslintrc', files: ['deployments/**/*.yaml'], fix: false }; cli.run(options).then(results => { console.log('Lint results:', results); }).catch(err => { console.error('Lint failed:', err); });
Debug
Known issues
gotchaWhen using CommonJS require, the default export is not the same as an ESM default import.
fix
Use ESM imports or `const cli = require('ipaas-lint-cli').default`.
affects: >=2.0
deprecatedThe function `lintSync` is deprecated; use async `run` instead.
fix
Replace `cli.lintSync(options)` with `await cli.run(options)`.
affects: >=2.0
gotchaWhen using the CLI from command line, ensure Node.js version >=12.
fix
Upgrade Node.js to version 12 or higher.
affects: <2.0
Errors
Common errors & fixes
Error: Cannot find module 'ipaas-lint-cli'
Package not installed or import path incorrect.
fix
Run `npm install ipaas-lint-cli --save-dev` and use correct import.
TypeError: cli.run is not a function
Default import used incorrectly with CommonJS require.
fix
Use `require('ipaas-lint-cli').default` or switch to ESM import.
Upgrade
Version history
2.0.6latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
ipaas-lint-cli — npm install ipaas-lint-cli · libregistry