@open-tech-world/create-es-lib

Node.js CLI tool for creating modern ECMAScript libraries.

Usage no npm install needed!

<script type="module">
  import openTechWorldCreateEsLib from 'https://cdn.skypack.dev/@open-tech-world/create-es-lib';
</script>

README

@open-tech-world/create-es-lib

Linux Build macOS Build Windows Build CodeFactor npm (scoped)

Node.js CLI tool for creating modern ECMAScript libraries.

Features

✔️ Zero-Config to Get Started 🚀

✔️ Completely Customizable

✔️ No Lock-In Framework

✔️ Follows Semantic Versioning 2.0.0

Tech Stack

✔️ ESLint

✔️ Git

✔️ Jest

✔️ Prettier

✔️ Rollup

✔️ Typescript

Library Types

🚧 Browser (WIP)

🚧 Node.js CLI (WIP)

✔️ Node.js Module

✔️ React

Requirements

  • Node.js ^12.22.0 || ^14.17.0 || >=16.0.0
  • Latest Npm or Yarn

Install

⚠️ You should not install this package locally or globally, and it is only used to run on the CLI.

Usage

Using npm

npx @open-tech-world/create-es-lib@latest my-lib

Using Yarn

yarn create @open-tech-world/es-lib my-lib

Troubleshooting

❌ Error: Cannot create "/usr/local/bin/create-es-lib" due to insufficient permissions.

You can fix the above error by giving sudo access to the command line and after a library created, change the library folder owner using sudo chown -R $USER:$USER my-lib.

Getting Started

Post creating a library, follow the on-screen instructions to get started.

License

Copyright (c) Thanga Ganapathy (MIT License).