Last active
April 14, 2020 19:55
-
-
Save mikkabond/baa8839b0fa7c156dbd3f2e0a65cf944 to your computer and use it in GitHub Desktop.
nodejs tips
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = сущность- глобальный объект для экспортирования сущностей | |
require('файл') - подключение экспортируемых сущностей из файла | |
>npm install -D package - установка пакета в список зависимостей ТОЛЬКО для разработки (не продакшен) | |
>npm run command - запуск команды command из раздела scripts файла package.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment