Logo: Relish

  1. Sign in

Project: Ruby-elm

Local files dependencies

Elm::Dependencies allows you to extract local dependencies.

It returns an array containing all local files (using elm-package.json
if needed) used by a specific elm file or content.

Scenarios
No local dependencies
Given
an elm file without local dependencies:
import Html exposing (text)

main =
  text "Hellow, World!"
When
I run Elm::Dependencies.from_file for the file
Then
the dependency array is empty

Last published over 4 years ago by eunomie.