An open API service indexing awesome lists of open source software.

https://github.com/dtinth/ride

Simple and beautiful monkey-patching library for JavaScript.
https://github.com/dtinth/ride

javascript monkey-patching typescript

Last synced: 6 months ago
JSON representation

Simple and beautiful monkey-patching library for JavaScript.

Awesome Lists containing this project

README

          

# ride

Monkey-patch stuff at will!

```javascript
var ride = require('ride')
var fs = require('fs')

ride(fs, 'readFile').before(function (filename) {
console.log('You are reading ' + filename + ', huh?')
})
```

## API reference

[![API reference screenshot](https://ss.dt.in.th/api/screenshots/apiref-ride.png)](https://apiref.page/package/ride)