hangul-search
Advanced tools
Comparing version 1.1.1 to 1.1.2
{ | ||
"name": "hangul-search", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "Json객체에서 한글 검색을 수행. 한글 초성 검색을 지원. Korean search within JSON objects. Supports Korean initial consonant search.", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -19,14 +19,11 @@ ## hansearch | ||
[라이브 데모 확인하기](https://hwantage.github.io/hansearch/demo/) | ||
## Usage 1 | ||
### Installation | ||
노드 패키지를 설치해서 테스트 가능합니다. 간편하게 테스트 해보시려면 `Usage 2` 섹션을 참고하세요. | ||
npm 패키지로 설치합니다. | ||
```shell | ||
npm i hangul-search | ||
``` | ||
### Usage | ||
코드를 작성합니다. | ||
```js | ||
@@ -59,13 +56,14 @@ // 라이브러리 import | ||
console.log(result); | ||
/* 출력 결과 | ||
{ | ||
"items" : | ||
[ | ||
{ | ||
"title": "Javascript 직렬화(serialization)", | ||
"users": ["골리앗", "이순신", "김길동"], | ||
"description": "직렬화를 알아본다." | ||
} | ||
] | ||
} | ||
{ | ||
"items" : | ||
[ | ||
{ | ||
"title": "Javascript 직렬화(serialization)", | ||
"users": ["골리앗", "이순신", "김길동"], | ||
"description": "직렬화를 알아본다." | ||
} | ||
] | ||
} | ||
*/ | ||
@@ -75,3 +73,3 @@ ``` | ||
## Usage 2 | ||
CND을 이용하여 실행가능합니다. | ||
```html | ||
@@ -101,13 +99,14 @@ <script src="https://hwantage.github.io/hansearch/src/index.js" type="text/javascript"></script> | ||
console.log(result); | ||
/* 출력 결과 | ||
{ | ||
"items" : | ||
[ | ||
{ | ||
"title": "Javascript 직렬화(serialization)", | ||
"users": ["골리앗", "이순신", "김길동"], | ||
"description": "직렬화를 알아본다." | ||
} | ||
] | ||
} | ||
{ | ||
"items" : | ||
[ | ||
{ | ||
"title": "Javascript 직렬화(serialization)", | ||
"users": ["골리앗", "이순신", "김길동"], | ||
"description": "직렬화를 알아본다." | ||
} | ||
] | ||
} | ||
*/ | ||
@@ -114,0 +113,0 @@ </script> |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13296
136