This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Set of utility functions | |
export const CommonUtils = { | |
/** | |
* Get the decades from year | |
* ========================================================================= | |
* This utility will get the nearest decades of a year.<br/> | |
* example: getDecadesFromYear(1965) -> { start: 1960, end: 1970 } | |
* <br/> | |
* | |
* @return {[type]} [description] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Type definitions for express-boom | |
* Definitions by: Sandeep K Nair <https://github.com/sandeepsuvit> | |
* @author: Sandeep K Nair | |
*/ | |
declare namespace Express { | |
interface Boom { | |
// Add boom's properties in here | |
wrap: (error: Error, statusCode?: number, message?: string) => BoomError; | |
create: (statusCode: number, message?: string, data?: any) => BoomError; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p>Message: <span id="message"></span></p> | |
<p>Encrypted: <span id="encrypted-text"></span></p> | |
<p>Decrypted text: <span id="decrypted-text"></span></p> |
NewerOlder