Simple PFX generation (source)
openssl genrsa 2048 > private.pem
openssl req -x509 -new -key private.pem -out public.pem # fill options
openssl pkcs12 -export -in public.pem -inkey private.pem -out mycert.pfxSimple PFX generation (source)
openssl genrsa 2048 > private.pem
openssl req -x509 -new -key private.pem -out public.pem # fill options
openssl pkcs12 -export -in public.pem -inkey private.pem -out mycert.pfx| const ABORTABLE_ERROR_KEY = '__abortablePromise'; | |
| /** | |
| * @typedef {Promise.<*>} AbortablePromise | |
| * | |
| * @property {function} abort Additional method for abort original promise | |
| */ | |
| /** | |
| * |
##What is
Redefine global module with "use strict" wrapper for own code. This module doesn't touch node_modules code, because node_modules can be didn't compatibilite with "use strict" requirements
How to test:
node start_point.jsit show in console appear "It works!" (this message prints by my_own_code.js file)
| 'use strict'; | |
| import Singleton from 'Singleton'; | |
| class ClassA extends Singleton { | |
| constructor() { | |
| super(); | |
| } | |
| singletonMethod1() { | |
| // ... |