update
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
|
||||
options .................. show all available nodemon options
|
||||
config ................... default config options using nodemon.json
|
||||
authors .................. contributors to this project
|
||||
logo ..................... <3
|
||||
whoami ................... I, AM, NODEMON \o/
|
||||
|
||||
Please support https://github.com/remy/nodemon/
|
||||
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
/** @type {import('./max')} */
|
||||
module.exports = Math.max;
|
||||
@@ -0,0 +1,31 @@
|
||||
# Polyfill for `Object.setPrototypeOf`
|
||||
|
||||
[](https://npmjs.org/package/setprototypeof)
|
||||
[](https://npmjs.org/package/setprototypeof)
|
||||
[](https://github.com/standard/standard)
|
||||
|
||||
A simple cross platform implementation to set the prototype of an instianted object. Supports all modern browsers and at least back to IE8.
|
||||
|
||||
## Usage:
|
||||
|
||||
```
|
||||
$ npm install --save setprototypeof
|
||||
```
|
||||
|
||||
```javascript
|
||||
var setPrototypeOf = require('setprototypeof')
|
||||
|
||||
var obj = {}
|
||||
setPrototypeOf(obj, {
|
||||
foo: function () {
|
||||
return 'bar'
|
||||
}
|
||||
})
|
||||
obj.foo() // bar
|
||||
```
|
||||
|
||||
TypeScript is also supported:
|
||||
|
||||
```typescript
|
||||
import setPrototypeOf from 'setprototypeof'
|
||||
```
|
||||
Reference in New Issue
Block a user