Skip to content

davidmarkclements/prompt-sync-history

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

prompt-sync-history

History manager for prompt-sync

API

history(filename, max)

filename is a location for the history file max is the maximum entries to store

Returns an object with the following methods:

{
  atStart, atPenultimate, pastEnd, atEnd, 
  prev, next, reset, push, save
}

The prompt-sync module uses this interface to manage history interactions.

To create your own custom history handler, simply fork this repo and modify as desired.

About

History manager for `prompt-sync`

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published