shasum-object

WebJar for shasum-object

Лицензия

Лицензия

Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

shasum-object
Последняя версия

Последняя версия

1.0.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

shasum-object
WebJar for shasum-object
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/goto-bus-stop/shasum-object

Скачать shasum-object

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.npm/shasum-object/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>shasum-object</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/shasum-object/
implementation 'org.webjars.npm:shasum-object:1.0.0'
// https://jarcasting.com/artifacts/org.webjars.npm/shasum-object/
implementation ("org.webjars.npm:shasum-object:1.0.0")
'org.webjars.npm:shasum-object:jar:1.0.0'
<dependency org="org.webjars.npm" name="shasum-object" rev="1.0.0">
  <artifact name="shasum-object" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='shasum-object', version='1.0.0')
)
libraryDependencies += "org.webjars.npm" % "shasum-object" % "1.0.0"
[org.webjars.npm/shasum-object "1.0.0"]

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
org.webjars.npm : fast-safe-stringify jar [2.0.7,3)

Модули Проекта

Данный проект не имеет модулей.

shasum-object

get the shasum of a buffer or object

it is more or less identical to shasum, but tested on a lot of node.js versions and with smaller, actively maintained dependencies

Install - Usage - License: Apache-2.0

npm travis standard

Install

npm install shasum-object

Usage

var fs = require('fs')
var shasum = require('shasum-object')

shasum('of a string')
shasum(fs.readFileSync('of-a-file.txt'))

shasum({
  of: ['an', 'object']
})

API

shasum(input, algorithm = 'sha1', encoding = 'hex')

Compute the hash for the given input.

License

Apache-2.0

Версии библиотеки

Версия
1.0.0