Skip to content

HHardyy/node-source

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-source

在node中require了一个js文件之后做了哪些事呢

node-source
  - index.js
  - module1.js

module1.js

module.exports.content = 'hello hardy'

index.js

const module1 = require('./module1')
console.log(module1.content)  // hello hardy

why ???

let's see the code~

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published