Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add pkg import command #4

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Conversation

aleclarson
Copy link
Member

@aleclarson aleclarson commented Aug 23, 2024

The pkg import command lets you incorporate an NPM package into your Radashi. You can re-export its functions, rename them, or exclude specific ones as needed.

The generated mod.ts module automatically includes any packages you've imported.

Motivation

This feature is designed to help you merge your favorite NPM utility packages with Radashi, your go-to utility library. It gives you more freedom to customize Radashi to fit your needs.

Why not just install the package directly?

Bringing trusted packages into one place has several benefits:

  1. It simplifies dependency management.
  2. It makes collaboration easier by establishing a clear set of recommended NPM packages for your team.
  3. It allows you to use Radashi's tooling (CLI and VS Code extension) with these imported functions, which otherwise only works with native Radashi functions.

@aleclarson aleclarson added the radashi-helper Related to radashi-helper label Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
radashi-helper Related to radashi-helper
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant