We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello,
I try the lib on a .vcf file, that begin with BEGIN:VCARD, and file-type return { "ext": "ics", "mime": "text/calendar" }.
.vcf
BEGIN:VCARD
{ "ext": "ics", "mime": "text/calendar" }
Maybe it's related to the detection of ICS.
Would it be better to detect ics files with BEGIN:VCALENDAR ? That would allow to detect vcf files with BEGIN:VCARD ?
ics
BEGIN:VCALENDAR
vcf
The text was updated successfully, but these errors were encountered:
Yes, good catch. PR welcome to fix this and also add vCard support if you want.
Sorry, something went wrong.
Fix ics detection
6a18551
related to sindresorhus#446
Add vCard support
8437aa3
sindresorhus#446
I create the PR #451 Please check it if you have some time :-)
Fixed by #451.
No branches or pull requests
Hello,
I try the lib on a
.vcf
file, that begin withBEGIN:VCARD
, and file-type return{ "ext": "ics", "mime": "text/calendar" }
.Maybe it's related to the detection of ICS.
Would it be better to detect
ics
files withBEGIN:VCALENDAR
? That would allow to detectvcf
files withBEGIN:VCARD
?The text was updated successfully, but these errors were encountered: