Rome is a dependency-free, customizable date picker
github.com
github.com
Edit: seems the dependencies are bundled in the distributed files, making it 55kb minified!
Note that if you're using the standalone version, the API is published under
the rome global. If you're using CJS, then you'll have to require('rome').
You can use Browserify[1] or WebPack[2] as a CommonJS module loader.Dependency-free almost always refers to runtime dependencies. A build tool is not a dependency. (Rome isn't dependency-free in that sense either[1], but hey...)
[1]: https://github.com/bevacqua/rome/blob/master/package.json#L2...
Do you count gcc and make as "dependencies" on installing and/or running some software built with them?
Edit: I'm wrong, I misunderstood dependency free. It would be great to have a native js version of this anyway.
Just because you can bundle up that library in the dist doesn't mean it's not a dependency.
I cleared the contents of the field and clicked elsewhere, it fills the field with the last selected value.
People who use npm packages in browser code are pretty much all using Browserify or Webpack and leverage npm. (Many people use Bower, but I don't see the point of using two overlapping package managers.)
It's a new dawn of modular JS code; no more global namespace, no more stuffing CDN links in your <head>. I recommend giving it a go.