The code needs a ES2015+ polyfill to work, for example regenerator-runtime/runtime.
require( 'regenerator-runtime/runtime' ) ;
// or
import 'regenerator-runtime/runtime' ;
Then
const mapping = require( '@aureooms/js-mapping' ) ;
// or
import mapping from '@aureooms/js-mapping' ;