New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

retrieva

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

retrieva

On-demand component retrieval for TypeScript projects

latest
npmnpm
Version
1.1.0
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

retrieva

Retrieva logo

A CLI tool for retrieving components from a remote repository. Similar to npm install but for components. There's no updating mechanism, so you can edit and modify installed components as you wish.

Prerequisites

  • Node.js 18 or higher
  • Git

Installation

First, you need to install the package. You can do this globally or locally.

NPM

npm i -g retrieva

PNPM

pnpm i -g retrieva

Yarn

yarn global add retrieva

Usage

Initialization

Any project using retrieva must have a retrieva.json file in the root directory. The init command will create this file for you.

retrieva init

Interested in how the retrieva.json file looks like? Check out the one in this repository here.

Retrieval

To install one or more components, use the get command. Retrieva will then fetch the remote repository and install the components in the local project.

retrieva get <components...> # e.g. retrieva get button card

Keywords

cli

FAQs

Package last updated on 06 Jan 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts