Skip to content
View Jaid's full-sized avatar
🔴
Streaming coding sessions on Twitch!
🔴
Streaming coding sessions on Twitch!
Block or Report

Block or report Jaid

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned

  1. action-sync-node-meta action-sync-node-meta Public

    GitHub Action that syncs package.json with the repository metadata.

    JavaScript 29 4

  2. ESLint rules for migrating projects ... ESLint rules for migrating projects from CommonJS to ESM
    1
    # ESLint rules
    2
    
                  
    3
    The ESM standard is considered stable in NodeJS and well supported by a lot of modern JavaScript tools.
    4
    
                  
    5
    ESLint does a good job validating and fixing ESM code (as long as you don't use top-level await, coming in [ESLint v8](https://eslint.org/blog/2021/06/whats-coming-in-eslint-8.0.0#support-for-es2022-class-fields-top-level-await-and-regexp-matching-indices)). Make sure to enable the latest ECMA features in the ESLint config.
  3. readable-ms readable-ms Public

    Converts a milliseconds value into a human-readable string.

    JavaScript

  4. array-to-object-keys array-to-object-keys Public

    Converts an array to an object where the keys are the array entries and the values are customizable in a function.

    JavaScript 2

  5. crop-string crop-string Public

    Trims strings to a maximum length and appends dot dot dot if needed.

    JavaScript

  6. read-file-string read-file-string Public

    Returns file content as a UTF-8 string. Returns null if file does not exist (or is a directory) instead of throwing an Error.

    JavaScript 2