Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hotfix: add release-file to package.json so it is usable in svelte/typescript #167

Closed
wants to merge 1 commit into from
Closed

Hotfix: add release-file to package.json so it is usable in svelte/typescript #167

wants to merge 1 commit into from

Conversation

uvulpos
Copy link

@uvulpos uvulpos commented Sep 14, 2022

No description provided.

@uvulpos
Copy link
Author

uvulpos commented Sep 14, 2022

Linked to #75

@uvulpos
Copy link
Author

uvulpos commented Sep 14, 2022

I wanted to use this library in svelte + typescript and these tips (from the issue) did not work out for me but this small change in the package.json of my local node module did. I don't even have to import it anymore since it is globally available anyway

Screenshot 2022-09-14 at 14 07 30

$: fileUploadInput, updateMusicMetaData()

function updateMusicMetaData() {
        if (fileUploadInput && fileUploadInput[0]) {
            jsmediatags.read(fileUploadInput.item(0), {
                onSuccess: function (tag) {
                    console.log(tag);
                },
                onError: function (error) {
                    console.log(error);
                }
            });
        }
    }

@uvulpos uvulpos closed this by deleting the head repository Jan 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant