Closed angeljqv closed 2 years ago
I try this
const { str_repeat } = require('node-fpdf') const { str_repeat } = require('node-fpdf/PHP_CoreFunctions') const { str_repeat } = require('./PHP_CoreFunctions') const { str_repeat } = require('PHP_CoreFunctions')
but always i get with all them undefined or
undefined
code: 'MODULE_NOT_FOUND',
I'm trying to extend FPDF class for add some scripts, and i need the php core functions for avoid duplicate the same code
This works require('node-fpdf/src/PHP_CoreFunctions')
require('node-fpdf/src/PHP_CoreFunctions')
I try this
but always i get with all them
undefined
orI'm trying to extend FPDF class for add some scripts, and i need the php core functions for avoid duplicate the same code