New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@lakeday/perch

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lakeday/perch

AST powered semantic code linting with Jev

Source
npmnpm
Version
0.2.3
Version published
Weekly downloads
2K
-53.52%
Maintainers
1
Weekly downloads
 
Created
Source

perch

npm ci node license perch

perchscan.com  ·  docs

AST powered semantic code linting with Jev.

Writing a rule, and perch catching this README with it

Getting started

npm install -g @lakeday/perch
export TYPESAFE_API_KEY=...

perch scan                  # read the repository
perch issues                # what it found, worst first
perch issues 92c7781e       # open one up
perch check 92c7781e        # change it, ask again, nothing committed

Agent skills

perch setup claude-code   # .claude/skills/perch/SKILL.md
perch setup codex         # .codex/skills/perch/SKILL.md
perch setup pi            # .pi/skills/perch/SKILL.md
perch setup cursor        # .cursor/rules/perch.mdc

Semantic linting

Extend perch with your own rules, in perch.yaml:

- name: env-read-once
  where: "src/**/*.js"
  each: method
  min: 70
  ensure: >
    This method does not read configuration out of process.env. Reading the
    environment is the command line's job.

Documentation

Getting startedInstall, the key, the first scan.
Reading issuesThe list, the filters, closing what does not matter.
Semantic lintingwhere, each, sees, min, gate, and the longhand grammar.
Checking a changeperch check on work in progress.
perch in CIWhat a build can gate on, and what it cannot.
Command referenceEvery command, its flags, and what each exit code means.
How a scan worksThe graph walk, the questions, and how probabilities turn into a ranking.

Results go in .perch. Nothing else is written to your tree.

Development

npm run check     # lint, typecheck, test
npm run build     # bundle src/cli.js into dist/cli.mjs

From a checkout: npm install && npm run build && npm link puts perch on your path.

FAQs

Package last updated on 18 Sep 2026

Related posts