Skip to content

Commit 90a706b

Browse files
author
Chris Ferdinandi
committed
Add package manager installation info
1 parent dae2ece commit 90a706b

File tree

1 file changed

+19
-7
lines changed

1 file changed

+19
-7
lines changed

README.md

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,14 @@ A lightweight script to animate scrolling to anchor links.
66
**In This Documentation**
77

88
1. [Getting Started](#getting-started)
9-
2. [Options & Settings](#options-and-settings)
10-
3. [Browser Compatibility](#browser-compatibility)
11-
4. [Contributors](#contributors)
12-
5. [How to Contribute](#how-to-contribute)
13-
6. [License](#license)
14-
7. [Changelog](#changelog)
15-
8. [Older Docs](#older-docs)
9+
2. [Installing with Package Managers](#installing-with-package-managers)
10+
3. [Options & Settings](#options-and-settings)
11+
4. [Browser Compatibility](#browser-compatibility)
12+
5. [Contributors](#contributors)
13+
6. [How to Contribute](#how-to-contribute)
14+
7. [License](#license)
15+
8. [Changelog](#changelog)
16+
9. [Older Docs](#older-docs)
1617

1718

1819

@@ -46,6 +47,16 @@ In the footer of your page, after the content, initialize Smooth Scroll. And tha
4647

4748

4849

50+
## Installing with Package Managers
51+
52+
You can install Smooth Scroll with your favorite package manager.
53+
54+
* **[NPM](https://www.npmjs.org/):** `npm install cferdinandi/smooth-scroll`
55+
* **[Bower](http://bower.io/):** `bower install https://github.com/cferdinandi/smooth-scroll.git`
56+
* **[Component](http://component.io/):** `component install install cferdinandi/smooth-scroll`
57+
58+
59+
4960
## Options and Settings
5061

5162
Smooth Scroll includes smart defaults and works right out of the box. But if you want to customize things, it also has a robust API that provides multiple ways for you to adjust the default options and settings.
@@ -198,6 +209,7 @@ Smooth Scroll is licensed under the [MIT License](http://gomakethings.com/mit/).
198209
* General code optimizations for better minification and performance.
199210
* Updated to JSDoc documentation (sort of).
200211
* Updated to three number versioning system.
212+
* Added package manager installation info.
201213
* v4.6 - March 21, 2014
202214
* [Fixed scroll-to-top bug for links at the bottom of the page](https://github.com/cferdinandi/smooth-scroll/issues/49).
203215
* v4.5 - March 20, 2014

0 commit comments

Comments
 (0)