get particular items from local storage js code example Example: get specific item from local storage JSON.parse(localStorage.getItem('user')).id