diff --git a/README.md b/README.md index bda54586..5790f542 100644 --- a/README.md +++ b/README.md @@ -87,6 +87,7 @@ Detector Adapters: | Python | ✅ | | Ruby | ✅ | | Swift | ✅ | +| Bun | ✅ | `✅ - supported, 🛠 - work in progress` diff --git a/src/Detector/Adapter/Bun.php b/src/Detector/Adapter/Bun.php new file mode 100644 index 00000000..6e9adcbd --- /dev/null +++ b/src/Detector/Adapter/Bun.php @@ -0,0 +1,52 @@ +addDetector(new JavaScript()) + ->addDetector(new Bun()) ->addDetector(new PHP()) ->addDetector(new Python()) ->addDetector(new Dart()) @@ -70,6 +72,8 @@ public function testLanguageDetection(): void ['Dobiasd', 'FunctionalPlus', 'cpp'], ['anthonychu', 'azure-functions-deno-worker', 'deno'], ['mono', 'mono-basic', 'dotnet'], + ['Meldiron', 'bun-function', 'bun'], + ['cytoscape', 'cytoscape.js', 'node'] ]; foreach ($languageMap as [$owner, $repositoryName, $expectedRuntime]) {