9.8.112 • Published 11 months ago

@erboladaiorg/excepturi-quaerat-molestias v9.8.112

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

mp3-duration Travis-Build

Calculate duration of an MP3 in seconds

Install

$ npm install --save mp3-duration

Usage

var mp3Duration = require('mp3-duration');

mp3Duration('file.mp3', function (err, duration) {
  if (err) return console.log(err.message);
  console.log('Your file is ' + duration + ' seconds long');
});

API

mp3Duration(filePathOrBuffer , cbrEstimate)

filePathOrBuffer

Type: string | Buffer

Path to the file or a buffer with the file's contents

cbrEstimate

Defaults to false. When set to true, will estimate the length of a constant-bitrate mp3. This speeds up the calculation a lot but isn't guaranteed to be accurate.

callback(error, duration)

Type: function

Callback to be called once duration is calculated. It's also possible to instead use the returned Promise. duration is the duration of the mp3 in seconds (including fractional seconds).

Return value

mp3Duration returns a Promise that resolves to the duration of the mp3 in seconds or rejects with some error.

License

MIT © Han de Boer

wgetefficientbreakdirectorysymbolfindupargumentslazyratelimitnumberieloadingescapeidlehttplanguageyamlsharedgenericsopenString.prototype.trimRxdefaultreducertypescriptprefixmulti-packagerdscloudwatchstoragegatewaycallboundroutingposeairbnboncecharacterstapspinnerautoscalingoutputreusehardlinksgroupByarraybufferargsmatchAllconsolereact poseexe@@toStringTagperformancemakeRegExp.prototype.flagsformslimitconvertcss-in-jschildjsfastfind-upunicodesettertermjsonkarmaJSON-Schemaes2015cachemoveregular expressionloggertc39symlinksqueuepyyamlbrowsersliststarterfastcopyruntimesetPrototypeOfsetdom-testing-librarypreserve-symlinkssearchsetImmediatecomputed-typessymlinkFunction.prototype.nameeslaunchtypedrouteRxJSpostcssgetoptes-shimsassertsresolveutilObject.keyslastclientES3optimizertraversebluebirdimportexportArraytypesECMAScript 7websiteutilitiestypesafespinnerses7buffersTypeBoxthrottleinternalqueryprototypeCSSURLSearchParamslengthomitprivatevestArray.prototype.includespackage managerInt32Arrayfindworkspace:*findLastestreevalueswhiches2016ECMAScript 2023coercibledeepcopyoptionstarttypedarrayschannelsafeserializationxhrdeep-cloneregexdescriptorsquotemruflatfast-deep-copypackage.jsonbrowserlistserializerlockfilestringifierinstallereslintstylingchineseoffsetmake dirdomstringurlsconfigsnsarktypeconcatMapstyleguideredacthookswaitcodesbundlingtslibtscolumnes-abstractsharedarraybufferregularanimationjesthasenumerableschemepopmotionglacieridentifierssameValueZerocoredeterministicparsingcolumnsopenerthreeObject.getPrototypeOfiamhelpermkdirsJSONgetOwnPropertyDescriptortyped arrayscheme-validationforEaches2018objectconfigurableiteratefullredirecteventDispatcherdependency managerObjectminimalwidthstylesObject.fromEntrieselbspeedinspectperformantuninstallartttyastconsumeexpressionObservableWebSocketisfile systembyteOffsetstatelessasciiextendvariableswalktaskaccessortrimEndprotoequalYAMLawesomesaucemkdirides-shim APIvpcformatting_.extendfrommodulessymbolsinstalltypeArray.prototype.flatMaprmdirlogbdddebuggergetschemaparserECMAScript 3ajaxslotES2018propertyfolderReflect.getPrototypeOfassertionES2021comparereactargparsestyled-componentsthroatprotocol-buffersES2020droptypaniondatecall-boundside256react-hookssortedmobileweakmappnpm9findLastIndexintrinsic3dESnextdeep-copycreateUint32ArraystreamcircularURLserializeutilityECMAScript 2018dataViewbufferwriteeventsArray.prototype.flatjapaneseflagsMapmimespawnnamesES2023eventEmitterArray.prototype.filterroute53speccolourECMAScript 2019mime-dbUint8ClampedArrayajvpromiseemrproxyimportbusynativepackagekeyes2017inputentriesdirphonejsdiffcensorpersistentvisualgroupredux-toolkitquerystringagentnpmreduxbyterapidworkflowvalidsortcallbindespreeextragetPrototypeOfglobalsapolloparentenvironmentwritableqstimelookkinesisfilecmdframeworkMicrosoftlistenersutil.inspecttoArrayequalityreal-timetapeECMAScript 5ebsstdlibes5takeprogressgetintrinsicECMAScript 2017regular expressionsremovesettingsfixed-widthES2015workerchaitoolsrandomES5propertiesbundlerEStelephonearraysomeObject.definePropertytypeofECMAScript 6StreamscloudtrailtoobjectlimitedES2016beanstalktypedarrayWeakSeteslintconfigelectronpushnodeArrayBuffer.prototype.slicefastifybatchpathfilterSetHyBijsxs3shimrangeerrordotenvstylebyteLengthdefineArrayBuffer#slice$.extendspringclicharsetES2017rfc4122ES2019Array.prototype.flattenglobcontainstoStringTagtoolkitfunctioncall-bindconcurrencyratekeyscommandrequireES6iterationrobustargumentkoreanloadbalancingwrapboundcallbackfull-widthjsdommatchexpress0Int16Arraymergevalidateargvbrowserdescriptionlibphonenumbervalidationwarningxdg-openio-tszerodataviewhelpersreadecmascriptemitprivate datahashcompilerjoiexecfast-deep-cloneinferencehasOwnevery-0has-ownamazonmimetypescommand-linegraphqlcopyimmernodejstostringtagterminalreadablestreamtesterFloat64ArraygestureswhatwgurlreduceObject.valuesponyfillswfflatMappatchhookformfigletmkdirpshrinkwraplrueslintpluginrmtrimStartfunctionswaapiWeakMapString.prototype.matchAllchromebindviewrgbreact animationenvironmentsdatastructureObject.assignstreams2wafECMAScript 2021enderduplexzodform-validationwebdiffrequestStyleSheetreadabledayjsflatten
@dramaorg/esse-praesentium-eligendi@dramaorg/quae-dolore-nostrum@erboladaiorg/ad-exercitationem-ducimus@erboladaiorg/adipisci-repellendus-corporis@erboladaiorg/asperiores-earum-quaerat@erboladaiorg/asperiores-fuga-sint@erboladaiorg/asperiores-nam-adipisci@erboladaiorg/autem-dolores-ipsam@erboladaiorg/cum-commodi-consequatur@erboladaiorg/cupiditate-consectetur-porro@erboladaiorg/cupiditate-pariatur-optio@erboladaiorg/distinctio-tempora-quis@erboladaiorg/error-atque-ea@erboladaiorg/esse-ipsa-numquam@erboladaiorg/ex-hic-molestias@erboladaiorg/explicabo-eius-adipisci@erboladaiorg/fugiat-nobis-repellendus@erboladaiorg/laboriosam-inventore-natus@erboladaiorg/molestiae-voluptatibus-perferendis@erboladaiorg/molestias-nulla-dolor@erboladaiorg/nisi-culpa-cum@erboladaiorg/officia-illum-aperiam@erboladaiorg/perspiciatis-magni-ut@erboladaiorg/quae-in-veniam@erboladaiorg/quaerat-mollitia-adipisci@erboladaiorg/quibusdam-itaque-tempora@erboladaiorg/quod-explicabo-neque@erboladaiorg/sint-deleniti-dolorem@erboladaiorg/sit-nesciunt-amet@erboladaiorg/tenetur-architecto-dolore@erboladaiorg/ut-dignissimos-laborum@erboladaiorg/velit-fugit-harum@juigorg/nisi-molestiae-ut@juigorg/sit-nam-neque@kollorg/dicta-itaque-nemo@kollorg/nihil-veniam-deserunt@swenkerorg/modi-dolorum-provident@swenkerorg/nulla-voluptates-voluptates@zitterorg/aspernatur-pariatur-occaecati@zitterorg/eum-veritatis-placeat@zitterorg/illum-perferendis-consecteturanalsorhost-simple-bscorcojs-qrcodecorcojs-qrcode-logodable-effectfiran-loggingsimple-assi-animationsimple-prompts-web3
7.5.78

12 months ago

7.5.79

12 months ago

3.2.37

1 year ago

3.2.36

1 year ago

3.2.39

1 year ago

3.2.38

1 year ago

7.5.80

12 months ago

7.5.81

12 months ago

7.5.82

12 months ago

7.5.83

12 months ago

4.3.43

1 year ago

4.4.43

1 year ago

2.1.27

1 year ago

2.1.28

1 year ago

2.1.25

1 year ago

2.1.26

1 year ago

2.1.23

1 year ago

2.1.24

1 year ago

4.4.45

1 year ago

4.4.44

1 year ago

2.1.22

1 year ago

9.8.109

11 months ago

1.1.16

1 year ago

9.8.108

11 months ago

9.8.107

11 months ago

9.8.106

11 months ago

1.1.19

1 year ago

1.1.18

1 year ago

8.6.86

11 months ago

1.1.17

1 year ago

2.1.29

1 year ago

9.8.112

11 months ago

9.8.111

11 months ago

9.8.110

11 months ago

2.1.30

1 year ago

1.1.22

1 year ago

1.1.21

1 year ago

1.1.20

1 year ago

8.5.86

12 months ago

8.5.85

12 months ago

1.0.16

1 year ago

8.5.84

12 months ago

8.5.83

12 months ago

3.3.42

1 year ago

3.3.43

1 year ago

8.7.89

11 months ago

5.5.62

1 year ago

5.5.63

1 year ago

8.7.87

11 months ago

5.5.60

1 year ago

8.7.88

11 months ago

5.5.61

1 year ago

8.7.86

11 months ago

6.5.77

12 months ago

6.5.76

12 months ago

3.2.40

1 year ago

6.5.78

12 months ago

4.5.50

1 year ago

3.2.42

1 year ago

4.5.51

1 year ago

3.2.41

1 year ago

9.7.96

11 months ago

4.5.54

1 year ago

9.7.95

11 months ago

4.5.55

1 year ago

9.7.98

11 months ago

6.5.71

12 months ago

4.5.52

1 year ago

9.7.97

11 months ago

6.5.70

12 months ago

4.5.53

1 year ago

6.5.73

12 months ago

4.5.58

1 year ago

2.2.35

1 year ago

9.7.99

11 months ago

6.5.72

12 months ago

2.2.36

1 year ago

6.5.75

12 months ago

4.5.56

1 year ago

2.2.33

1 year ago

6.5.74

12 months ago

4.5.57

1 year ago

2.2.34

1 year ago

2.2.31

1 year ago

2.2.32

1 year ago

5.5.68

1 year ago

2.2.30

1 year ago

9.7.92

11 months ago

5.5.66

1 year ago

9.7.91

11 months ago

5.5.67

1 year ago

9.7.94

11 months ago

5.5.64

1 year ago

9.7.93

11 months ago

5.5.65

1 year ago

9.7.100

11 months ago

9.7.102

11 months ago

9.7.101

11 months ago

9.7.104

11 months ago

9.7.103

11 months ago

9.7.106

11 months ago

8.7.90

11 months ago

6.5.68

1 year ago

9.7.105

11 months ago

8.7.91

11 months ago

6.5.69

12 months ago

4.5.47

1 year ago

4.5.48

1 year ago

4.5.45

1 year ago

4.5.46

1 year ago

5.5.59

1 year ago

4.5.49

1 year ago

5.5.58

1 year ago

1.0.15

1 year ago

1.0.14

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago