src/index.js
/**
 * clear the localStorage cache which prefix `options.name` to.
 */
clear the localStorage cache which prefix `options.name` to.
clear the localStorage cache which prefix ` options . name ` to .
function clearStorage() {
    Object.keys(localStorage)
        .filter(key => key.startsWith(options.name))
        .forEach(key => localStorage.removeItem(key));
}
function clearStorage ( ) { Object . keys ( localStorage ) . filter ( key => key . startsWith ( options . name ) ) . forEach ( key => localStorage . removeItem ( key ) ) ; }
clear the localStorage cache which prefix `options.name` to.
clear the localStorage cache which prefix ` options . name ` to .