flat-tree-builder
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "flat-tree-builder", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "A package for building tree structures from flat data", | ||
@@ -5,0 +5,0 @@ "dependencies": { |
@@ -11,6 +11,6 @@ # Классификатор | ||
### Установка зависимостей | ||
### Установка npm пакета | ||
```console | ||
npm install | ||
npm i flat-tree-builder | ||
``` | ||
@@ -30,2 +30,3 @@ | ||
- Подключите файл classifier.css | ||
- Подключите bootstrap | ||
@@ -42,2 +43,8 @@ ### Объект с параметрами | ||
```html | ||
<link | ||
rel="stylesheet" | ||
href="./node_modules/bootstrap/dist/css/bootstrap.min.css" | ||
/> | ||
<link rel="stylesheet" href="./node_modules/flat-tree-builder/classifier.css" /> | ||
<div id="test"></div> | ||
@@ -47,10 +54,8 @@ ``` | ||
```js | ||
import Classifier from "./classifier.js"; | ||
import Classifier from "./node_modules/flat-tree-builder/classifier.js"; | ||
const classifier = new Classifier("#test", { | ||
getUrl: "12323", | ||
postClassifierUrl: "", | ||
test: true, | ||
search: true, | ||
test: true, | ||
}); | ||
``` |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
58
37853
10
1023
3