@luxass/projectrc
TypeScript icon, indicating that this package has built-in type declarations

2.1.2 • Public • Published

projectrc

npm version npm downloads

You should not use this package, it is probably only useful for me.

📦 Installation

npm install @luxass/projectrc

📚 Usage

import { getREADME, getRepository, repositoryExists, resolveConfig, resolveProjectRC } from "@luxass/projectrc";

// check if a repository exists
const exists = await repositoryExists({
  owner: "luxass",
  repo: "projectrc",
  githubToken: process.env.GITHUB_TOKEN
});

// get the repository's ProjectRC file
const projectRCFile = await resolveConfig({
  owner: "luxass",
  repo: "projectrc"
});

// get the repository
const repository = await getRepository({
  owner: "luxass",
  repo: "projectrc",
  githubToken: process.env.GITHUB_TOKEN
});

// get the repository's readme
const readme = await getREADME({
  owner: "luxass",
  repo: "projectrc",
  githubToken: process.env.GITHUB_TOKEN
});

// resolve the projectrc file
const projectRC = await resolveProjectRC({
  owner: "luxass",
  repo: "projectrc",
  githubToken: process.env.GITHUB_TOKEN
});

📄 License

Published under MIT License.

Readme

Keywords

none

Package Sidebar

Install

npm i @luxass/projectrc

Weekly Downloads

1

Version

2.1.2

License

MIT

Unpacked Size

190 kB

Total Files

36

Last publish

Collaborators

  • luxass