luxx
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

luxx

Travis npm

This is a tool for downloading, installing, and updating GitHub and NPM projects.

⚠️ Note: This library is still in alpha, expect breaking changes.

Usage

import createLuxx from 'luxx'

const luxx = createLuxx({
  installPath: process.cwd(),
})

luxx
  .installGitHub({
    owner: 'mmmurray',
    repo: 'luxx',
  })
  .then(() => {
    console.log('Installed.')
  })

You must have git installed and configured to download over SSH. If you do not want to use the default SSH key, you can create a custom SSH key pair and add the private key to <installPath>/ssh/id_rsa. Make sure to add the public key as a deploy key to the GitHub repo you wish to clone. See https://developer.github.com/v3/guides/managing-deploy-keys/#setup-2 for more information.

Readme

Keywords

none

Package Sidebar

Install

npm i luxx

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

270 kB

Total Files

26

Last publish

Collaborators

  • mmmurray