Skip to content

Commit

Permalink
Mejora
Browse files Browse the repository at this point in the history
- Se exporta modulo de PHP_CoreFunctions
  • Loading branch information
gamalielmendez committed Sep 27, 2022
1 parent 13d7138 commit ff36a88
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
1 change: 1 addition & 0 deletions PHP_CoreFunctions.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports =require('./src/PHP_CoreFunctions')
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@ pdf.SetFont('Arial','B',12);
pdf.Cell(5,5,"HOLA MUNDO!!");
pdf.Output('F',`test.pdf`);
````
# Como se Usa PHP_CoreFunctions
```javascript
const {isset} = require('node-fpdf/PHP_CoreFunctions')

console.log(isset(1))

````

# **Fuentes Disponibles**
- [x] courier
- [x] helvetica
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-fpdf",
"version": "1.0.40",
"version": "1.0.41",
"description": "port de la libreria de FPDF de PHP",
"main": "index.js",
"directories": {
Expand Down Expand Up @@ -29,7 +29,8 @@
"test20": "node ./test/DashedRect.js",
"test21": "node ./test/subWrite.js",
"test22": "node ./test/labels_test.js",
"test23": "node ./test/testsetfont.js"
"test23": "node ./test/testsetfont.js",
"test24": "node ./test/test_phpfunctions.js"
},
"repository": {
"type": "git",
Expand Down
3 changes: 3 additions & 0 deletions test/test_phpfunctions.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
const {isset} = require('../PHP_CoreFunctions')

console.log(isset(1))

0 comments on commit ff36a88

Please sign in to comment.