Isbn生成器

Isbn生成器 · commerce.isbn. 生成方法 · 示例

commerce.isbn

生成设置

生成后在这里查看结果。

参数 & 示例

Returns a random ISBN identifier.

commerce.isbn(options?: 10 | 13 | { variant?: 10 | 13; separator?: string; })
options
The variant to return or an options object.
options.variant
The variant to return. Can be either 10 (10-digit format) or 13 (13-digit format). Defaults to 13.
options.separator
The separator to use in the format. Defaults to '-'.

示例

"978-1-160-64381-8"

请在测试环境使用合成数据。

相关生成器

探索场景模板