Just for testing.
Follow these steps to create a new project workspace and install the pumpchart dependency to run this example.
# Create and open project folder
mkdir Test_demo
cd Test_demo
# Initialize project and install dependencies
npm init -y
npm i pumpchart@0.0.0
# Create and open source file
touch "Test.mjs"
open "Test.mjs"
Copy and paste this source code into Test.mjs
.
import { TEST } from 'pumpchart';
console.log(TEST);
In Test_demo/
, execute Test.mjs
with NodeJS to generate an output.
node "Test.mjs"
You should expect to see an output similar to the one below.
It works!