BuildShipBBuildShip
Powered by
ehsuehE
BuildShip•7mo ago•
4 replies
ehsueh

ehsueh - Hi, how can I import or install npm pa...

Hi, how can I import or install npm packages in a node? I want to use crypto

import crypto from 'node:crypto';

const hmac = crypto
  .createHmac('sha256', 'your-secret-key')
  .update('some-string')
  .digest('base64');
import crypto from 'node:crypto';

const hmac = crypto
  .createHmac('sha256', 'your-secret-key')
  .update('some-string')
  .digest('base64');
BuildShip banner
BuildShipJoin
Join founders, builders, devs using Low-code / No-code to create backend, APIs, scheduled Jobs, automation, AI workflows
7,971Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

ehsueh - Hi team, can I make it by default that...
ehsuehEehsueh / 💬・general
7mo ago
ehsueh - Hi all, does buildship support retry i...
ehsuehEehsueh / 💬・general
7mo ago
ehsueh - Hi, is there a way to configure how yo...
ehsuehEehsueh / 💬・general
5mo ago
pablonaj - Hi, how do i get support? I've sent ...
pablonajPpablonaj / 💬・general
17mo ago