Socket
Socket
Sign inDemoInstall

repl-history

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.1 to 0.0.2

2

package.json
{
"name": "repl-history",
"version": "0.0.1",
"version": "0.0.2",
"description": "A custom history for your custom REPL",

@@ -5,0 +5,0 @@ "main": "index.js",

# repl-history
This package allows you to easily include history into your custom REPL. By default it will create a `.repl_history` file in the project directory and keep the most recent 200 lines. You can adjust those settings by passing appropriate options.
This package allows you to easily include history into your custom REPL. By default it will create a `.repl_history` file in it's directory and keep the most recent 200 lines. You can adjust those settings by passing appropriate options.

@@ -17,3 +17,3 @@ ## Quickstart

* `filePath` (*string*, `[project_dir]/.repl_history`): Specify an alternative file. Must be a fully-qualified path.
* `filePath` (*string*, `[repl-history dir]/.repl_history`): Specify an alternative file. Must be a fully-qualified path.
* `useHome` (*boolean*, `false`): Use the user's default history file `~/.node_repl_history`. This option supercedes `filePath`.

@@ -20,0 +20,0 @@ * `maxSave` (*number*, `200`): The maximum number of lines to save. Set to `0` to save all lines.

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