Skip to content

About

JavaScript best practices with a safe GhostApproval filesystem-boundary demonstration.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

JavaScript Best Practices

A compact example project for consistent, maintainable JavaScript.

Practices demonstrated

  • Prefer const unless a binding must be reassigned.
  • Keep functions small and give them one clear responsibility.
  • Validate values at system boundaries.
  • Return new values instead of mutating caller-owned data.
  • Keep configuration explicit and review dependency changes.

Try it

npm test

To use this repository for the GhostApproval security demonstration, read SECURITY-DEMO.md first. The demonstration uses a synthetic canary outside the repository and never targets real credentials.

About

JavaScript best practices with a safe GhostApproval filesystem-boundary demonstration.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages