less than 1 minute read

Libraries

Naming Conventions

References

Haruki’s Rough Observations

  • kebab-case for directories or general JS/TS files.

  • camelCase for variables and functions.

  • PascalCase for classes, and files containing classes.

    • or required by a framework.

For Lib development

Import/Export

Linting

Promise

TypeScript

Type Inheritance

Callback/Async-Await/Promise

Updated: