Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

286
Views
How do I import NodeJS Modules into VSCode HyperSnips Extension?

At the github page of HyperSnips says: https://github.com/draivin/hsnips/blob/239862ea79e94fb2ac9e83d8c87e3518bd835a55/README.md

The require function can also be used to import NodeJS modules.

I can't find any example about this functionality. On their documentation or on Google.

In my case, when I try to use const myModule = require('./my-module'); and use Reload Snippets command, it pops up an error message:

Command 'HyperSnips: Reload Snippets' resulted in an error (Cannot find module './my-module'
Require Stack:
- c\Users\%username%\.vscode\extensions\draivin.hsnips-0.2.7\out\parser.js
- c\Users\%username%\.vscode\extensions\draivin.hsnips-0.2.7\out\extension.js
- c\Users\%username%\.vscode\extensions\draivin.hsnips-0.2.7\out\vs\loader.js
- c\Users\%username%\.vscode\extensions\draivin.hsnips-0.2.7\out\bootsrap-amd.js
- c\Users\%username%\.vscode\extensions\draivin.hsnips-0.2.7\out\bootstrap-fork.js)

It would be amazing to empower HyperSnips with NodeJS modules. Has anybody successfully use this feature?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!