Skip to content

Commit 63d68b9

Browse files
committed
chore: release v0.1.3
1 parent 268867a commit 63d68b9

File tree

2 files changed

+14
-5
lines changed

2 files changed

+14
-5
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "music-metadata-wasm",
33
"type": "module",
4-
"version": "0.1.2",
4+
"version": "0.1.3",
55
"description": "read / write the music file metadata using wasm, powered by lofty-rs",
66
"author": "subframe7536",
77
"repository": {
@@ -36,7 +36,6 @@
3636
"dev": "node build.js && vite playground",
3737
"dev:wasm": "node build.js",
3838
"build": "node build.js --release",
39-
"format": "eslint --fix",
4039
"release": "node build.js --release && bumpp --all && npm publish"
4140
},
4241
"devDependencies": {

playground/index.ts

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { MetaFile } from '../dist/bundler'
2-
import url from '../samples/flac.flac?url'
1+
import { MetaFile } from '../dist'
2+
// import url from '../samples/flac.flac?url'
33
// import url from '../samples/wav.wav?url'
4-
// import url from '../samples/mp3.mp3?url'
4+
import url from '../samples/mp3.mp3?url'
55
// impot url from '../samples/rate.mp3?url'
66

77
console.time('total')
@@ -43,6 +43,16 @@ console.table({
4343
track: data.track,
4444
discTotal: data.discTotal,
4545
trackTotal: data.trackTotal,
46+
copyright: data.copyright,
47+
duration: data.duration,
48+
pictures: data.pictures[0].mimeType,
49+
bitrate: data.bitRate,
50+
bitDepth: data.bitDepth,
51+
sampleRate: data.sampleRate,
52+
channels: data.channels,
53+
quality: data.quality,
54+
albumReplayGain: data.albumReplayGain,
55+
trackReplayGain: data.trackReplayGain,
4656
})
4757
document.querySelector('div')!.innerHTML = data.pictures?.[0].mimeType || 'no cover'
4858

0 commit comments

Comments
 (0)