is-tbpassdeprecated

Verify whether the text contains Taobao passphrase, or a Taobao passphrase like message key

Usage no npm install needed!

<script type="module">
  import isTbpass from 'https://cdn.skypack.dev/is-tbpass';
</script>

README

is-tbpass

Verify whether the text contains Taobao passphrase, or a Taobao passphrase like message key

初步验证文本是否包含淘口令,或类淘口令信息密钥

Installing

Using npm:

$ npm install is-tbpass

Using yarn:

$ yarn add is-tbpass

Example

note: CommonJS usage

const { isTBPass } = require('is-tbpass')

// true
console.log(isTBPass("裤装$2EiVYhmJlSc$2019新款夏"))
const { getTBPass } = require('is-tbpass')

// ¢SftOYhmrepl¢
console.log(getTBPass("椱ァ製这段ァ描述¢SftOYhmrepl¢后到?◇綯℡寳"))
// $2EiVYhmJlSc$,₳SftOYhmrepl₳
console.log(getTBPass("裤装$2EiVYhmJlSc$2019新款夏₳SftOYhmrepl₳时尚"))