2024年3月5日 星期二

Nodejs and npm and lodash

npm install lodash

#

ls -al node_modules#

jquery  lodash  neo-async  sass-loader

#
# node
Welcome to Node.js v21.6.1.
> const _ = require('lodash');
> const numbers=[1,2,3]
> numbers
[ 1, 2, 3 ]
> _.first(numbers)


# ref
https://www.digitalocean.com/community/tutorials/how-to-use-node-js-modules-with-npm-and-package-json

https://linyencheng.github.io/2022/09/27/relationships-between-frontend-and-backend/tool-npm/

https://linyencheng.github.io/2022/09/27/relationships-between-frontend-and-backend/tool-npm/

https://linyencheng.github.io/2022/09/27/relationships-between-frontend-and-backend/tool-npm/

沒有留言:

張貼留言