{"id":41303,"library":"ipaas-lint-cli","title":"ipaas-lint-cli","description":"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.","status":"active","version":"2.0.6","language":"javascript","source_language":"en","source_url":"https://github.com/LilyChenlin/ipaas-lint","tags":["javascript"],"install":[{"cmd":"npm install ipaas-lint-cli","lang":"bash","label":"npm"},{"cmd":"yarn add ipaas-lint-cli","lang":"bash","label":"yarn"},{"cmd":"pnpm add ipaas-lint-cli","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"Package provides a default export; ESM import preferred.","wrong":"const cli = require('ipaas-lint-cli')","symbol":"default","correct":"import cli from 'ipaas-lint-cli'"},{"note":"Named export 'run' is available for programmatic use.","wrong":"const run = require('ipaas-lint-cli').run","symbol":"run","correct":"import { run } from 'ipaas-lint-cli'"},{"note":"Version is exported directly from the package.","wrong":"const v = require('ipaas-lint-cli/version')","symbol":"version","correct":"import { version } from 'ipaas-lint-cli'"}],"quickstart":{"code":"import cli from 'ipaas-lint-cli';\n\nconst options = {\n  config: '.ipaaslintrc',\n  files: ['deployments/**/*.yaml'],\n  fix: false\n};\n\ncli.run(options).then(results => {\n  console.log('Lint results:', results);\n}).catch(err => {\n  console.error('Lint failed:', err);\n});","lang":"typescript","description":"Shows how to import and run the linter programmatically with a config object and handle results asynchronously."},"warnings":[{"fix":"Use ESM imports or `const cli = require('ipaas-lint-cli').default`.","message":"When using CommonJS require, the default export is not the same as an ESM default import.","severity":"gotcha","affected_versions":">=2.0"},{"fix":"Replace `cli.lintSync(options)` with `await cli.run(options)`.","message":"The function `lintSync` is deprecated; use async `run` instead.","severity":"deprecated","affected_versions":">=2.0"},{"fix":"Upgrade Node.js to version 12 or higher.","message":"When using the CLI from command line, ensure Node.js version >=12.","severity":"gotcha","affected_versions":"<2.0"}],"env_vars":null,"search_vec":"'2.0.6':19 'activ':49 'autom':44 'built':20 'ci/cd':46 'cli':4,24 'command':7 'command-lin':6 'communiti':54 'configur':14 'current':15 'depend':40 'design':42 'differenti':34 'domain':38 'enforc':28 'environ':32 'interfac':9 'ipaa':2,13,31,37 'ipaas-lint-c':1 'javascript':55 'key':33 'larg':53 'line':8 'lint':3,12 'maintain':50 'minim':39 'pipelin':47 'rule':29 'specif':35 'stabl':16 'standalon':23 'tool':10 'valid':26 'version':17 'within':30","created_at":"2026-06-04T18:51:45.524956+00:00","updated_at":"2026-06-04T18:51:45.524956+00:00","problems":[{"fix":"Run `npm install ipaas-lint-cli --save-dev` and use correct import.","cause":"Package not installed or import path incorrect.","error":"Error: Cannot find module 'ipaas-lint-cli'"},{"fix":"Use `require('ipaas-lint-cli').default` or switch to ESM import.","cause":"Default import used incorrectly with CommonJS require.","error":"TypeError: cli.run is not a function"}],"ecosystem":"npm","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/LilyChenlin/ipaas-lint#readme","github":"https://github.com/LilyChenlin/ipaas-lint","docs":null,"changelog":null,"pypi":null,"npm":"ipaas-lint-cli","openapi_spec":null,"status_page":null,"smithery":null,"categories":["devops","testing"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-04","next_check":"2026-09-02","install_tag":null}}