mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 07:15:08 +01:00
Docs refresh
This commit is contained in:
@@ -23,7 +23,7 @@ the installation of any external runtime dependencies.
|
||||
## Examples
|
||||
|
||||
```javascript
|
||||
import sharp from 'sharp';
|
||||
const sharp = require('sharp');
|
||||
```
|
||||
|
||||
```javascript
|
||||
@@ -33,8 +33,6 @@ sharp(inputBuffer)
|
||||
// A Promises/A+ promise is returned when callback is not provided.
|
||||
```
|
||||
|
||||
|
||||
|
||||
```javascript
|
||||
sharp('input.jpg')
|
||||
.rotate()
|
||||
|
||||
Reference in New Issue
Block a user