Socket
Socket
Sign inDemoInstall

git-casefile

Package Overview
Dependencies
50
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    git-casefile

Tools for maintaining bookmarks to code in a Git repository


Version published
Maintainers
1
Created

Readme

Source

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.

Keywords

FAQs

Last updated on 05 Dec 2023

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc