1.0.1 • Published 3 years ago
@altenull/github-lang-to-icon v1.0.1
github-lang-to-icon
⚙️ Installation
$ npm install --save @altenull/github-lang-to-icon
🚀 Quick Start
import { GithubLangToIcon } from '@altenull/github-lang-to-icon';
render() {
return (
<GithubLangToIcon
lang="TypeScript"
size={64}
/>
);
}
Props
Prop | Type | Default | Description |
---|---|---|---|
lang | GithubLang | LowercasedGithubLang | type LowercasedGithubLang = Lowercase\<GithubLang> | |
size | number | undefined | 40 | Icon's width & height |
style | React.CSSProperties | undefined |
Supported Languages
GithubLang(type)
is based on response of List repository languages (Github API).- The source of below icon images is devicon.
- About repository languages (Github API)
GithubLang(type) | Icon(svg) |
---|---|
'C' | |
'Clojure' | |
'CoffeeScript' | |
'C++' | |
'C#' | |
'CSS' | |
'Dart' | |
'Elixir' | |
'Elm' | |
'Erlang' | |
'F#' | |
'Go' | |
'Groovy' | |
'Haskell' | |
'HTML' | |
'Java' | |
'JavaScript' | |
'Julia' | |
'Kotlin' | |
'Lua' | |
'Markdown' | |
'MATLAB' | |
'Nix' | |
'Objective-C' | |
'OCaml' | |
'Perl' | |
'PHP' | |
'Python' | |
'R' | |
'Ruby' | |
'Rust' | |
'Scala' | |
'SCSS' | |
'Shell' | |
'Stylus' | |
'Swift' | |
'TypeScript' | |
'Vim Script' |
📝 License
Licensed under the MIT.
1.0.1
3 years ago
1.0.0
3 years ago
0.0.20
3 years ago
0.0.19
3 years ago
0.0.18
3 years ago
0.0.16
3 years ago
0.0.15
3 years ago
0.0.14
3 years ago
0.0.13
3 years ago
0.0.12
3 years ago
0.0.11
3 years ago
0.0.9
3 years ago
0.0.8
3 years ago
0.0.7
3 years ago
0.0.6
3 years ago
0.0.5
3 years ago
0.0.4
3 years ago
0.0.3
3 years ago
0.0.2
3 years ago
0.0.1
3 years ago