nav-selector

Mark a nav item as selected

npm install nav-selector
6 downloads in the last week
12 downloads in the last month

nav-selector

Mark a nav item as selected

browser support

Example

var navSelector = require('nav-selector');

navSelector('selected'); // class to be added to selected nav item
npm loves you