@beforeyoubid/jsx-mail-core
TypeScript icon, indicating that this package has built-in type declarations

1.0.9ย โ€ขย Publicย โ€ขย Published

JSXMail

jsx-mail-comparation

All the basic functioning of jsx-mail. Build or render functions directly.

Usage

// eslint-disable-next-line
const { Core } = require('@beforeyoubid/jsx-mail-core');

const core = new Core(__dirname + '/mail-app', 'dist');

core.build().then(result => {
  console.log('Build result:', result);
  core
    .render(
      'Welcome',
      {
        name: 'John Doe',
      },
      {
        lang: 'pt-BR',
      }
    )
    .then(result => {
      console.log('Render result:', result);
    });
});

Documentation

See the documentation here

Readme

Keywords

none

Package Sidebar

Install

npm i @beforeyoubid/jsx-mail-core

Weekly Downloads

47

Version

1.0.9

License

MIT

Unpacked Size

369 kB

Total Files

59

Last publish

Collaborators

  • cayob
  • ben-byb
  • akram-byb
  • shiwam-byb
  • dmitrii8723
  • chainat-byb
  • mitch_byb