SE Expiry
A simple wrapper to get the list of .se
domains expiring soon. Built with Promises in mind.
Data fetched from Internetstiftelsen.
Example usage
Simple usage example
const expiry = ; expiry ;
Manual usage example
const expiry = ; expiry ;
Documentation
Any functions/methods prefixed with an underscore are not intended to be called manually.
Class: Domain
// Class constructor }
Class: Domains (collection)
// Class constructor // Sorting function (sorts by date) _byDate(:a = Domain, :b = Domain) // => Bool // Sorting function (sorts by name length) _byLength(:a = Domain, :b = Domain) // => Bool // Sort interface (called by order method) _sort(:by = Function) // => Promise // Order method (by accepts 'date' or 'length', fallback is 'date') order(:by = String) // => Promise}
Function: fetch
// Fetch function (https fallback is true) // => Promise
Function: parse
// Parse function (https fallback is true) // => Promise