n
n
nexo
Search…
Web Tools

n.cookies.set('key', 'value', 2); // Expiration in 2 days

n.cookies.get('key') // Returns 'value'

n.params object contains a URL parsed data

console.log(n.params)
-> {"key":"value","key2":"value2"}
Copy link
On this page
Add cookie and set 2 day expiration
Get cookie value
n.params object contains a URL parsed data
Example: http://localhost/index.html?key=value&key2=value2