Skip to content

feat: deno add [package] --npm / deno install [package] --npm #28021

Closed
@ryuapp

Description

@ryuapp

JavaScript library documents often provide a way to install the libraries as described following:

npm install rehype-stringify remark-parse remark-rehype unified

// ref: https://unifiedjs.com/learn/guide/using-unified/

Doing the same thing in Deno looks like this:

deno install npm:rehype-stringify npm:remark-parse npm:remark-rehype npm:unified
// or
deno add npm:rehype-stringify npm:remark-parse npm:remark-rehype npm:unified

Some helpful documentation describes how to do it with Deno, but not all. To add npm prefixes for all libraries is very tedious.
Therefore, it would be convenient if we could specify bulk installation by adding an argument like --npm.

deno install rehype-stringify remark-parse remark-rehype unified --npm

This makes copy and paste installation easier.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions