일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
- CLASS
- bitcoin
- Interface
- tailwindcss
- API
- 삶
- useState
- solidity
- express.js
- built in object
- CSS
- 기준
- web
- typeScript
- node.js
- REACT
- JavaScript
- Ethereum
- evm
- graphQL
- SSR
- blockchain
- HTML
- hardhat
- Redux
- concept
- middleware
- error
- Props
- nextJS
- Today
- Total
목록Module (3)
ReasonJun
The fs module, the path module, and the gray-matter module are all popular JavaScript modules that are used for working with files and directories. The fs module provides a set of functions for reading, writing, and manipulating files and directories. It is a core module in the Node.js platform, so it is always available when you are working with Node.js. The path module provides a set of functi..
In TypeScript, a module is a way to organize code into separate files and encapsulate its functionality. Modules allow you to define and export reusable pieces of code, such as classes, functions, interfaces, or variables, and import them in other parts of your program. TypeScript supports two main module systems: CommonJS and ECMAScript (ES) modules. CommonJS Modules: CommonJS modules are prima..
// key.js export const birthKey = Symbol('Date of birth'); export const emailKey = Symbol('Emails'); // youjun.js import { birthKey, emailKey } from './key'; export default { firstName: 'youjun', lastName: 'park', age: 22, [birthKey]: new Date(1985, 11, 16, 17, 30), [emailKey]: ['thiehis@gmail.com'], }; // main.js import youjun from './youjun.js'; import { birthKey, emailKey } from './key.js'; c..