Giter VIP home page Giter VIP logo

Comments (3)

rlefevre avatar rlefevre commented on May 31, 2024

Note that user names rules are here:
https://github.com/shinnn/github-username-regex

According to the form validation messages on Join Github page,

  • Github username may only contain alphanumeric characters or hyphens.
  • Github username cannot have multiple consecutive hyphens.
  • Github username cannot begin or end with a hyphen.
  • Maximum is 39 characters.

For the module names, they are here:
https://github.com/elm/compiler/blob/38670361cd4b9f9f09621f3f5a7dbe07ebde7bf2/compiler/src/Elm/Package.hs#L316

So from a quick glance:

  • < 256 characters
  • no -- inside
  • no - at the beginning or at the end
  • only lower case
  • no number at the beginning

from elm-doc-preview.

rlefevre avatar rlefevre commented on May 31, 2024

For user_name/dir, were you thinking about the logged-in user for the user name?
This would make sense.

Apparently, it is be available cross-plaform with:
https://nodejs.org/api/os.html#os_os_userinfo_options.

from elm-doc-preview.

rlefevre avatar rlefevre commented on May 31, 2024

Perhaps we could transform the directory name into something friendly?

We could indeed, I have put above the restrictions to respect.

I agree that the combination OS_user/current_directory should be more useful than my/application for the large majority of cases.

from elm-doc-preview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.