Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

greact-local-music-files

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

greact-local-music-files

[![npm version](http://img.shields.io/npm/v/greact-local-music-files.svg?style=flat-square)](https://npmjs.org/package/greact-local-music-files "View this project on npm") [![npm downloads](http://img.shields.io/npm/dm/greact-local-music-files.svg?style=f

  • 0.13.0
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

greact-local-music-files

npm version npm downloads npm licence Platform

A library to get local music files for both Android and IOS.

Concept

... Will update later.

Install

npm i --save greact-local-music-files
React Native version(s)Supporting greact-local-music-files version(s)
v0.44.0+v0.13.0

Stable version

v0.13.0

Usage

import GreactLocalMusic from 'greact-local-music-files';

GreactLocalMusic.androidLocalMusic.getAll({
        appname: 'YourAppName',
        artist: true,
        duration: true,
        cover: true,
        genre: true,
        title: true,
        minimumSongDuration: 10000,
    }).then((tracks) => {
        console.log(tracks);
    });
});

Props

PropTypeOptionalDefaultDescription
appnamestringNoGreactRequired to create app folder to write cover(artwork)
artistbooleanYesfalseReturn artist info in result
durationbooleanYesfalseReturn duration info in result
coverbooleanYesfalseReturn cover(artwork) image info in result
genrebooleanYesfalseReturn genere info in result
titlebooleanYesfalseReturn song name in result
datebooleanYesfalseReturn date info in result
minimumSongDurationintYes0Options to filter music file and ringtone

MIT Licensed

Keywords

FAQs

Package last updated on 15 May 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc