1
00:00:00,570 --> 00:00:07,110
In this hour, we are going to talk about the cost of treatment and how to install a NPM package locally

2
00:00:07,110 --> 00:00:09,060
in the doctor's project.

3
00:00:09,360 --> 00:00:11,870
And so, first of all, we have to initiate.

4
00:00:12,390 --> 00:00:19,410
So we have to go to the terminal and type AMPM in it because you cannot see the package straight on

5
00:00:19,410 --> 00:00:19,740
here.

6
00:00:20,370 --> 00:00:28,710
So we can type in it and then will go to ask you a series of questions about our program so you can

7
00:00:29,040 --> 00:00:35,830
answer it or just type her to get the initial value or the default value.

8
00:00:36,600 --> 00:00:41,080
So we have no descriptions and also no entry point.

9
00:00:41,910 --> 00:00:47,820
We use the default entry point and we just keep her and then we type and her.

10
00:00:49,950 --> 00:00:52,380
Now you can get the trace on.

11
00:00:53,710 --> 00:00:55,200
And the package today, so on.

12
00:00:55,230 --> 00:01:03,120
We'll keep track of all the package that we installed each and also the budget details like this, and

13
00:01:03,130 --> 00:01:06,340
actually there's other ways to engage the AMPM.

14
00:01:06,970 --> 00:01:09,300
So we do not need to answer any question.

15
00:01:09,370 --> 00:01:11,290
For example, now with the latest follow.

16
00:01:13,910 --> 00:01:23,510
And then instead of an image can be typed ampm it, that's why so it will skip all the questions and.

17
00:01:24,430 --> 00:01:26,200
They will use the default values.

18
00:01:27,690 --> 00:01:30,340
That's the information for Jason.

19
00:01:31,900 --> 00:01:38,980
So this package, tort reform, will keep track of our project dependencies and which means all the

20
00:01:38,980 --> 00:01:42,400
package that we install locally into this project.

21
00:01:43,060 --> 00:01:48,240
So now let's take a look on the AMPM and we are going to install the package called Moment.

22
00:01:48,250 --> 00:01:49,420
So we type moment.

23
00:01:51,530 --> 00:01:56,270
And every second moment, and then we can copy these command.

24
00:01:57,850 --> 00:02:04,420
And then we go to the terminal and then pace here to save it to our local dependencies.

25
00:02:04,540 --> 00:02:08,770
And so you can see the moment already down here.

26
00:02:09,280 --> 00:02:10,600
So it already registered.

27
00:02:10,600 --> 00:02:13,680
And the project, we'll keep track of that.

28
00:02:13,720 --> 00:02:19,360
Now, if you got a dual version so we can go to the homepage and documentation's.

29
00:02:20,350 --> 00:02:23,830
And you can see how to change that is part of the time.

30
00:02:25,250 --> 00:02:28,430
So, for example, if you want to change to.

31
00:02:30,310 --> 00:02:38,590
If you want to change to a man's name a month, and yet this type of format, you can use AOL and you

32
00:02:38,590 --> 00:02:42,760
put back to you can put the format inside a format.

33
00:02:43,740 --> 00:02:47,220
So first, we have to import a moment.

34
00:02:48,400 --> 00:02:59,350
So we go to the top of the server, Daltrey's, and at here we type constant movement and require.

35
00:03:02,350 --> 00:03:10,100
Woman And actually at the documentation, you can see how to use in the doctor.

36
00:03:10,110 --> 00:03:10,460
Yes.

37
00:03:11,040 --> 00:03:13,760
So we just copy and paste here.

38
00:03:15,380 --> 00:03:24,330
And also say how to use the moment we can copy these and go to the next project and only consult our

39
00:03:24,350 --> 00:03:34,000
Lord always first initialize a Christmas date is too to to travel twenty five.

40
00:03:34,790 --> 00:03:44,510
And then we want to close all the Christmas and then we type not on server.

41
00:03:46,920 --> 00:03:52,770
And there is nothing special because it just this parade is a date, and now we are going to change

42
00:03:52,770 --> 00:03:55,560
the date format using movement.

43
00:03:56,400 --> 00:04:03,320
So we use moment, not format and well.

44
00:04:04,800 --> 00:04:11,130
So the more we start automatically and we show change to December 25 to 022.

45
00:04:11,820 --> 00:04:15,360
So you can see these to date format or F.T. Change.
