Pixabay / JavaScript-autoComplete

An extremely lightweight and powerful vanilla JavaScript completion suggester.
752 stars 186 forks source link

Add as npm package #4

Open adriaandotcom opened 8 years ago

adriaandotcom commented 8 years ago

It would be very useful to have this as an npm-package. It is as easy as adding a package.json to the project.

SimonSteinberger commented 8 years ago

Feel free to do that if you like. I don't mind. Cheers

Bondifrench commented 8 years ago

I have taken the liberty of adding this useful library on npm, see here I was obliged to rename it js-autocomplete as npm doesn't accept capital letters in the name. Now we can install via npm by doing npm install js-autcomplete and requiring it in project, for instance var autoc = require('js-autocomplete'); which can then be packaged and combined in the browser with browserify. Maybe an added comment, so that people don't foget to handle the css would be necessary!

SimonSteinberger commented 8 years ago

:+1:

ghost commented 8 years ago

@Bondifrench please consider to keep npm package in sync, thank you

linnett commented 8 years ago

@SimonSteinberger @Bondifrench The NPM version is out of date - it's currently sat at 1.0.3. Please could you update?

LeKangouroo commented 8 years ago

+1

tremby commented 8 years ago

I have a fork https://github.com/tremby/JavaScript-autoComplete which I have published as js-autocomplete-tremby.

So far the only change is that I have merged https://github.com/Pixabay/JavaScript-autoComplete/pull/28, which I needed right now.

martinbean commented 7 years ago

What’s going on with this? Tried to install with npm install js-autcomplete but got a 404 from npm registry. Is this going to be officially supported on npm at all?

gomestai commented 7 years ago

You should type it as npm install js-autocomplete not npm install js-autcomplete (with "o" after aut)