File tree 2 files changed +11
-3
lines changed
2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 1
1
/dist
2
- node_modules /
2
+ node_modules /
3
+
4
+ package-lock.json
Original file line number Diff line number Diff line change 2
2
3
3
A javascript library for parsing and manipulation of SMPTE/EBU/Generic timecodes, framerates and framecounts.
4
4
5
+ ## Install
6
+
7
+ ``` shell
8
+ npm install @wfoxall/timeframe
9
+ ```
10
+
5
11
## Usage
6
12
7
13
### Timecode Class
8
14
9
15
``` typescript
10
- import {Timecode } from ' ../ ' ;
16
+ import {Timecode } from ' @wfoxall/timeframe ' ;
11
17
12
18
const tc1 = new Timecode (' 00:01:01:00' ," 29.97DF" );
13
19
console .log (tc1 .toString ());
@@ -35,7 +41,7 @@ console.log(tc1.toString());
35
41
Framerate objects can be instantiated by passing a FramerateLike value. The resulting object can then be used to initialize a Timecode instance.
36
42
37
43
``` typescript
38
- import {Framerate } from ' ../ ' ;
44
+ import {Framerate } from ' @wfoxall/timeframe ' ;
39
45
40
46
let fr1 = new Framerate (29.97 );
41
47
console .log (fr1 .toString ());
You can’t perform that action at this time.
0 commit comments