Title: How to require another built-in module? · Issue #505 · nodejs/node-addon-api · GitHub
Open Graph Title: How to require another built-in module? · Issue #505 · nodejs/node-addon-api
X Title: How to require another built-in module? · Issue #505 · nodejs/node-addon-api
Description: I need to use some modules like fs or crypto. It's easy for me to achieve that with Nan by using module varible. Is there any way to do the same?
Open Graph Description: I need to use some modules like fs or crypto. It's easy for me to achieve that with Nan by using module varible. Is there any way to do the same?
X Description: I need to use some modules like fs or crypto. It's easy for me to achieve that with Nan by using module varible. Is there any way to do the same?
Opengraph URL: https://github.com/nodejs/node-addon-api/issues/505
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"How to require another built-in module?","articleBody":"I need to use some modules like fs or crypto. It's easy for me to achieve that with Nan by using module varible. Is there any way to do the same?","author":{"url":"https://github.com/thestrangedev","@type":"Person","name":"thestrangedev"},"datePublished":"2019-06-27T03:56:32.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/505/node-addon-api/issues/505"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1f11f62f-1329-00f1-b7cd-56b702db4288 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8C22:3C7A3:2FF6740:437B9E6:6A4F7A4B |
| html-safe-nonce | ac7e5483a2da4d79a95875eff387109ac9678b3482e8690f356ac3f08e630e72 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QzIyOjNDN0EzOjJGRjY3NDA6NDM3QjlFNjo2QTRGN0E0QiIsInZpc2l0b3JfaWQiOiI1MzY2Mzc4NzY3MDE4MDY0NDYwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 8434ec663eafeef0079e81e43cfcf1c07a7ac126a9069b807e984eb71dec2c46 |
| hovercard-subject-tag | issue:461300157 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node-addon-api/505/issue_layout |
| twitter:image | https://opengraph.githubassets.com/74ddffa277c7ef156b00e3a9c5069f9d22229ed0b8e09e667a314ff528de5d0a/nodejs/node-addon-api/issues/505 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/74ddffa277c7ef156b00e3a9c5069f9d22229ed0b8e09e667a314ff528de5d0a/nodejs/node-addon-api/issues/505 |
| og:image:alt | I need to use some modules like fs or crypto. It's easy for me to achieve that with Nan by using module varible. Is there any way to do the same? |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | thestrangedev |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/node-addon-api git https://github.com/nodejs/node-addon-api.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 81384578 |
| octolytics-dimension-repository_nwo | nodejs/node-addon-api |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81384578 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node-addon-api |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4b249b445842943ed31549e027f57a8ade9881ed |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width