Просмотр исходного кода

chore: renames to @e22m4u/util-format

e22m4u 2 лет назад
Родитель
Сommit
e66abd7bce
2 измененных файлов с 7 добавлено и 7 удалено
  1. 4 4
      README.md
  2. 3 3
      package.json

+ 4 - 4
README.md

@@ -1,4 +1,4 @@
-## @e22m4u/format
+## @e22m4u/util-format
 
 Расширенная версия `format` из Node.js модуля `util`
 
@@ -12,7 +12,7 @@
 ## Установка
 
 ```bash
-npm install @e22m4u/format
+npm install @e22m4u/util-format
 ```
 
 ## Примеры
@@ -20,7 +20,7 @@ npm install @e22m4u/format
 Es-импорт
 
 ```js
-import {format} from '@e22m4u/format';
+import {format} from '@e22m4u/util-format';
 ```
 
 ### Спецификатор `%v`
@@ -94,7 +94,7 @@ format('> %l', [null]);         // > null
 Пример:
 
 ```js
-import {Errorf} from '@e22m4u/format';
+import {Errorf} from '@e22m4u/util-format';
 
 throw new Errorf(
   'It requires one of %l, but %v given.',

+ 3 - 3
package.json

@@ -1,5 +1,5 @@
 {
-  "name": "@e22m4u/format",
+  "name": "@e22m4u/util-format",
   "version": "0.0.3",
   "description": "Расширенная версия format из Node.js модуля util",
   "type": "module",
@@ -14,7 +14,7 @@
   },
   "repository": {
     "type": "git",
-    "url": "https://github.com/e22m4u/format.git"
+    "url": "https://github.com/e22m4u/util-format.git"
   },
   "keywords": [
     "format",
@@ -23,7 +23,7 @@
   ],
   "author": "e22m4u <e22m4u@gmail.com>",
   "license": "MIT",
-  "homepage": "https://github.com/e22m4u/format",
+  "homepage": "https://github.com/e22m4u/util-format",
   "devDependencies": {
     "@commitlint/cli": "^17.7.1",
     "@commitlint/config-conventional": "^17.7.0",