Tag: javascript

2023 09/15 How to create a React components ESM+CJS library Learn how to create a React component ESM+CJS library using Rollup, TypeScript and Storybook #javascript#typescript#frontend#web-development#react#rollupjs 2023 06/29 Beyond semantic versioning: updatePolicy Some random thoughts on how to make NPM package updates a bit safer #javascript#nodejs#security#npm#web-development 2023 06/25 A better way to use Dotenv Learn better usage patterns for the Dotenv library to simplify your code #javascript#security#web-development 2023 06/05 Credentials Leak with Knex Knex 2.4.2 and below are vulnerable to a credentials leak. Learn how to mitigate the problem. #security#javascript#typescript#web-development 2022 11/06 Barrel Exports considered harmful My (probably controversial) take on why the barrel exports pattern can be harmful. #typescript#javascript#software-architecture 2022 08/22 Generating CJS & ESM packages from TypeScript Although it's easy to generate CJS or ESM code from TS, generating both at the same time is a more complicated endeavour. #javascript#typescript#esm#cjs#tooling