2.0.3 • Published 4 months ago

@codinasion/language-data v2.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

@codinasion/language-data

Get data about programming languages.

NPM Version Downloads LICENSE

Installation

# if you're using pnpm
pnpm add @codinasion/language-data

# or, if you're using npm
npm install @codinasion/language-data

# or, if you're using yarn
yarn add @codinasion/language-data

Usage

import { GetLanguageData } from "@codinasion/language-data";

const cLanguageData = GetLanguageData({ name: "C++" })[0];
// or, const cLanguageData = GetLanguageData({ fileExtension: "cpp" })[0];
// or, const cLanguageData = GetLanguageData({ prismTag: "cpp" })[0];

console.log(cLanguageData);

// {
//     name: 'C++',
//     fileExtension: [
//         'cpp', 'c++', 'cc',
//         'cp',  'cxx', 'h',
//         'h++', 'hh',  'hpp',
//         'hxx', 'inc', 'inl',
//         'ipp', 'tcc', 'tpp'
//     ],
//     namingConvention: 'PascalCase',
//     prismTag: 'cpp',
//     logo: 'https://raw.githubusercontent.com/codinasion/codinasion/master/assets/language/c-plus-plus.png'
// }

Sponsors & Backers

Sponsors

2.0.3

4 months ago

2.0.2

4 months ago

2.0.1

5 months ago

2.0.0

5 months ago

1.1.0

11 months ago

1.0.0

12 months ago