git-casefile

1.0.8 • Public • Published

git-casefile Package

Automated tests

Casefile was a dogfooded test-bed for a new kind of bookmarking system built for the Atom text editor. Now that the Atom editor is dead, git-casefile aims to refactor the functionality of casefile into a package consumable by other editors, primarily VS Code.

Installation

$ npm install --save-prod git-casefile

or 

$ yarn add git-casefile

Documentation

Our documentation is available here. It includes all published versions.

The entrypoint for the package documentation is the git-casefile module and its CasefileKeeper class.

Getting Started

CommonJS

const { CasefileKeeper } = require('git-casefile');

const cfKeeper = new CasefileKeeper({
  toolOptions: {
    // Pass "cwd" or "path" props here if needed
  },
});

// Use cfKeeper to access remotes, load casefiles, or recover deleted casefiles.

// Use cfKeeper.bookmarks to find the current location for a bookmark or compute
// the "peg" location of a new bookmark.

ES Module

import { CasefileKeeper } from 'git-casefile';

const cfKeeper = new CasefileKeeper({
  toolOptions: {
    // Pass "cwd" or "path" props here if needed
  },
});

// Use cfKeeper to access remotes, load casefiles, or recover deleted casefiles.

// Use cfKeeper.bookmarks to find the current location for a bookmark or compute
// the "peg" location of a new bookmark.

Readme

Keywords

Package Sidebar

Install

npm i git-casefile

Weekly Downloads

54

Version

1.0.8

License

MIT

Unpacked Size

63.5 kB

Total Files

18

Last publish

Collaborators

  • rtweeks