MrRefactoring / jira.js

A JavaScript/TypeScript wrapper for the JIRA Cloud, Service Desk and Agile REST API
https://mrrefactoring.github.io/jira.js/
MIT License
366 stars 49 forks source link

Deno support? #241

Open karfau opened 1 year ago

karfau commented 1 year ago

Hey there, looks like a promising project and you have connected it to https://deno.land/x/jira, but this doesn't work, since the imports in deno need to have .ts extension, so just importing src/index.ts doesn't work:

TypeError: Module not found "https://deno.land/x/jira@v2.15.14/src/callback".
    at https://deno.land/x/jira@v2.15.14/src/index.ts:5:15

Also the README doesn't contain any deno specific information.

Are there any plans to work on proper deno suport? Or are there people that figured out how to use it in deno as is?

MrRefactoring commented 1 year ago

Hello! To be honest, I would like to add deno support, but I don't have enough time to do it at all

karfau commented 1 year ago

FYI: looks like https://github.com/dfoobar/djira is a fork for exactly that purpose, reachable under https://deno.land/x/djira and is kinda workin, but it's mostly undocumented beside types.

MrRefactoring commented 1 year ago

Hmh make sense to compare

MrRefactoring commented 1 year ago

I will investigate how I can make a union code base for jira.js and deno version