@stheine/helpers
v1.3.0
Published
``` npm install @stheine/helpers ```
Readme
stheine/helpers
Use
npm install @stheine/helperseslint.config.js
import eslintConfig from '@stheine/helpers/eslint.config';
export default [
...eslintConfig,
];logger
import {logger} from '@stheine/helpers';
logger.info('Startup');sendMail
sends an email via the host postfix (typically a docker container in the same environment),
or the host specified in the environment MAILSERVER.
import {sendMail} from '@stheine/helpers';
await sendMail({
to: '[email protected]',
subject: `Test mail`,
html: `<html>Eine test mail</html>`,
});