node package manager

nav-selector

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