Closed RobyCigar closed 1 year ago
Hi @RobyCigar do you mean this is for client side is front end? This library/package is mainly NOT FOR FRONTEND (Browser's javascript) usage, but for backend (Node JS server) usage:
Thank you
thanks for your reply @Andrenzo17 sorry I thought the word client in "midtrans-nodejs-client" mean its for the client(frontend)
Initially i was looking for snap npm package, the docs said i should add inline script in my html, but i feel like its not a proper way to add package directly using inline script in my project, i would rather using npm than inline script, so i stumbled to this repo.
Hi, thanks for the library, currently i have problem with the import statement how can I import the package using ejs syntax in my client?
import snap from 'midtrans-client'
currently the available docs only explain about common js importconst blah = require('midtrans-client')
thank you