https://github.com/mrmurphy/elm-add-import
Add an import to an Elm module
https://github.com/mrmurphy/elm-add-import
Last synced: 11 days ago
JSON representation
Add an import to an Elm module
- Host: GitHub
- URL: https://github.com/mrmurphy/elm-add-import
- Owner: mrmurphy
- License: mit
- Created: 2016-12-02T03:49:01.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-12-03T16:58:28.000Z (over 9 years ago)
- Last Synced: 2026-01-14T05:35:19.192Z (7 months ago)
- Language: Elm
- Size: 22.5 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Add Imports
A tiny module for adding an import to an Elm file. Give it an import, and a string of elm text, and
get back that text with the import added (in alphabetical order)
## License
Copyright © 2016 Murphy Randle
Distributed under the MIT license.
# TODO:
- [ ] Tests for parsing
- [ ] Sort imports alphabetically
- [ ] Test sorting
- [ ] Support proper importing of type constructors from within modules