Snapshot of ramda/repl: 36★, JavaScript. The Ramda REPL
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
A URL (minus query string) that will be used with the url-shortening service to indicate where a sharable link will take user-agents. The current query string will be appended to this. This idea here is that you can have a REPL at http://your-ramda-repl.com#code and have the share feature redirect to http://ramdajs.com/repl#code should you wish.
"http://ramdajs.com/repl/"
initialValue
No
String
Used to provide the initial code in the input panel. It overrides the default behaviour, which is to use the content of the target element.
"identity(1)"
onChange
No
Function
This is called with the pre-compiled text from the input window whenever this text is changed. This can be used for updating the URL with a new query string, for example.
(code) => window.location.hash = URI.encode(code)
ramdaScript
Yes
Object - see below
A script description object used to defined where Ramda is sourced and how it is globally exposed
{
src : "//cdn.jsdelivr.net/ramda/latest/ramda.min.js",
global : "R"
}
scripts
No
Array of Objects - see below
A list of script description objects used to defined where other interesting libraries are sourced and how they are globally exposed
The keys ramdaScript and scripts are used to organise the dynamically loaded scripts that will be available to the REPL, such as Ramda, Sanctuary, and Ramda-Fantasy.
Ramda is loaded first, as it is presumed that the other libraries will require it to be present before they can be included.
Organising the scripts includes providing a reference to a URL where the script can be sourced - and adding in an optional configuration for how globals will be made available.
How the dynamically loaded scripts are made available can be defined using objects with the following keys:
Key
Required
Type
Description
Example
src
Yes
String
A URL referencing a JavaScript file
"//cdn.jsdelivr.net/ramda/latest/ramda.min.js"
global
Yes if exposeAs or expose are used
String
A name of a global the script will introduce
"R"
exposeAs
No
String
The name of a global that will act as an alias to the global introduced by the script
"RAMDA"
expose
No
Array of Strings
A list of method names on the global that you wish to expose globally. Given this list is not provided all methods found on the global will be exposed
[
"identity",
"map",
"filter"
]
Development
You will find a collection of npm run * scripts in package.json:
To run a simple server that will host the example/index.html file:
npm run server
This will start serving the repl at localhost:8080/example
To build the JavaScript bundle:
npm run build-js
To build the CSS bundle:
npm run build-css
Watch modes
To build the JavaScript bundle when files change (with sourcemap support):
npm run watch-js
To build the CSS bundle when files change:
npm run watch-css
To watch both:
npm run watch
Testing / Linting
To run tests:
npm test
To lint the JavaScript:
npm run lint
Minification
The CSS is quite small and is minified while it is built.
The JavaScript is not minified by npm run build-js or npm run watch-js so those operations can run a little faster.
No homepage URL was recorded for ramda/repl in TopGit's last sync. The README tab above frequently contains screenshots and demo links, or check the repository description on GitHub.
Does ramda/repl have any tags?
TopGit's last sync did not record any GitHub topics for ramda/repl. GitHub topics appear in the right sidebar of a repository page; that's the authoritative place to check.
How active is development on ramda/repl?
The most recent commit recorded on ramda/repl was 2.8 years ago, based on the GitHub push timestamp. The repository has 13 forks — one of the better signals of community interest.
How many stars does ramda/repl have?
ramda/repl has 36 GitHub stars — refresh the page for the live number, or check github.com/ramda/repl. TopGit mirrors GitHub's count but does not claim minute-by-minute accuracy.
What language is ramda/repl written in?
ramda/repl is written primarily in JavaScript. GitHub's language field is based on the largest share of bytes in the default branch.
Where do I read more about ramda/repl?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/ramda/repl is the definitive source.
Read full README in the tab above.
Is repl worth your time?
ChatGPT, Claude and Perplexity can all read this page. Ask one of them what it makes of repl.