1.0.8 • Published 5 months ago

git-casefile v1.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

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.
1.0.8

5 months ago

1.0.7

10 months ago

1.0.6

10 months ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago