🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis
Socket
Book a DemoInstallSign in
Socket

@amedia/kragl

Package Overview
Dependencies
Maintainers
90
Versions
124
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@amedia/kragl

Scripts to Lint

latest
Source
npmnpm
Version
5.2.2
Version published
Maintainers
90
Created
Source

kragl

Usage

npm install --save-dev @amedia/kragl

Add some scripts to your package.json:

{
  "devDependencies": {
    "@amedia/kragl": "^5.0.0"
  },
  "scripts": {
    "format": "kragl format",
    "lint": "kragl lint",
    "lint-fix": "kragl lint --fix"
  }
}

Install the config files in your project root:

npx kragl install

To install a single file, pass the relevant flag:

npx kragl install --prettier
npx kragl install --eslint
npx kragl install --prettier-base
npx kragl install --prettier-base --eslint

prettier.config.js:

import prettierConfig from '@amedia/kragl/prettier-config';
export default prettierConfig;

eslint.config.js:

import { eslintConfig } from '@amedia/kragl/eslint-config';

export default [...eslintConfig()];

Running kragl install --prettier-base copies the contents exported from @amedia/prettier-config-base directly into prettier.config.js, which is useful if you need a file you can tweak locally while still starting from the shared defaults.

FAQs

Package last updated on 14 Nov 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts