Published: 15 Nov 2019 › Updated: 15 Nov 2019

Looking to hire a freelancer to write a couple of JavaScript scripts
I need a couple of JavaScript scripts written, using some NPM libraries. I need them to be both Windows and Mac compatible.
1. SoundCloud track uploader/deleter
Using
https://www.npmjs.com/package/node-soundcloud
I need the script to:
- Store a SoundCloud
usernameandpasswordas variables. - Have a function that accepts a
pathto an audio file (.wav and.mp3 compatible at least) as an argument. The path will come to you with forward slashes (the Mac standard), so it may need to be converted to back slashes if operating on Windows. The function should then:
- Check the specified account to determine whether there is already a track with the same name as the file. If there is, delete it.
- Check if the account currently has enough space to upload the file. If not, delete as many of the oldest tracks as necessary to make space. Then upload the file. The track must be uploaded with the "downloadable" option enabled.
2. File/folder creator/deleter
This should also use NPM.
https://www.npmjs.com/package/shelljs
should work. This script needs to:
- Have a function that creates a folder with a specified name in a specified directory.
- The arguments of the function should be
nameandlocation.
- Have a function that checks a specified directory for any folders that have not had any contents created/modified in the past X days and then recycles/deletes those it finds.
- The arguments should be
location, createdModified, days, recycleDelete, wherecreatedModifiedandrecycleDeletecan be simple integers, 1 for the first option and 0 for the second.
- Have a function that checks a specified directory for any audio files that were not created/modified in the past X days and then recycles/deletes those it finds.
- The arguments should be
location, createdModified, days, recycleDelete, wherecreatedModifiedandrecycleDeletecan be simple integers, 1 for the first option and 0 for the second.
- Have a function that runs a specified file (such as an executable).
- The argument can simply be
path.
All of the file paths will come using forwardslashes so they may need to be converted to backslashes when operating on Windows.
Leave Looking to hire a freelancer to write a couple of JavaScript scripts to:
Read more #hiring posts
Best Posts From To the Sun
We have not curated any of to-the-sun's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From To the Sun
- HIRING a freelancer to write a simple JavaScript script using nodeJS to access the SoundCloud API
- Unity job outline
- Looking to hire a freelancer to write a couple of JavaScript scripts
- Proposed update for the Amanuensis GUI
- A new outline for GUI upgrades
- [HIRING] Create a game-like GUI for my project using Unity
- [HIRING] Create a game-like GUI for my project using Unity
- [HIRING] Create a game-like GUI for my project using Unity
- Looking to hire a freelancer [300 STEEM bounty!] CREATE A GAME-LIKE USER INTERFACE USING OPENGL: a task request for the open-source project The Amanuensis: Automated Songwriting and Recording
- NEW GUI FOR VISUALIZATION OF THE RHYTHMIC ANALYSIS: a new feature for the open-source project The Amanuensis: Automated Songwriting and Recording