diff --git a/README.md b/README.md index a369a8b29..2e60f327d 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ npm install 30-seconds-of-code yarn add 30-seconds-of-code ``` -[CDN link](https://unpkg.com/30-seconds-of-code@2/) +[CDN link](https://unpkg.com/30-seconds-of-code/)
Details @@ -47,7 +47,7 @@ yarn add 30-seconds-of-code **Browser** ```html - + @@ -60,9 +60,9 @@ yarn add 30-seconds-of-code const _30s = require('30-seconds-of-code'); _30s.average(1, 2, 3); -// ES Modules (tree-shaking support) -import { average } from '30-seconds-of-code'; -average(1, 2, 3); +// ES Modules +import _30s from '30-seconds-of-code'; +_30s.average(1, 2, 3); ```