Skip to content

Commit

Permalink
fix(app): updated deps + updated README.md
Browse files Browse the repository at this point in the history
[force-release]
  • Loading branch information
Bamdad Sabbagh committed Apr 27, 2021
1 parent c2dfe95 commit f7f68bf
Show file tree
Hide file tree
Showing 3 changed files with 241 additions and 236 deletions.
14 changes: 2 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,20 +43,10 @@ yarn add speed-to-percentage
1. `speed` number
2. `digits` number, optional, between `0` and `20`

## examples

### as `default` export
## example

```javascript
import speedToPercentage from 'speed-to-percentage'

const semitones = speedToPercentage(0.5) // returns "-50"
```

### as `named` export

```javascript
import {speedToPercentage} from 'speed-to-percentage'

const semitones = speedToPercentage(1.5, 3) // returns "50.000"
```
```
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"coverageDirectory": "./coverage/"
},
"devDependencies": {
"@bamdadsabbagh/eslint-config": "^1.9.1",
"@bamdadsabbagh/eslint-config": "^1.9.6",
"codecov": "^3.8.1",
"cross-env": "^7.0.3",
"jest": "^26.6.3",
Expand Down
Loading

0 comments on commit f7f68bf

Please sign in to comment.