mihaifm / linq

linq.js - LINQ for JavaScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

can't find updated version on cdn; can't install linq from bower

ellisonch opened this issue · comments

I'm trying to find minified and not minified versions of linq that I can use in a browser. Ideally I could just grab this off of a cdn, but it seems like the latest (https://cdnjs.com/libraries/linq.js) is 2.2.0.2 and you're on version 3 now.

I couldn't find anything in the readme about using this in the browser, but I saw in another issue that "bower should work". I've never heard of bower, but I gave it a shot. When I run

$ bower install linq

I get

fatal: repository 'https://github.com/mihaifm/linq/blob/master/linq.js.git/' not found

Is there any way to easily use the latest version in my browser?

commented

Bower support has been removed (see #6).

I am not sure if linq is available on any CDN's. @mihaifm is it?

No it’s not uploaded to any CDN but you can use something like jsdelivr that serves directly from npm

https://cdn.jsdelivr.net/npm/linq@3.1.1/linq.js

This looks good! You should probably mention this, or something related, in your readme. I know nothing of npm, and only want to use this library on the web. I looked for a single .js file, but couldn't find it in the repo. I didn't even know jsdelivr existed.

Added CDN availability links in the readme