
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
search-script
Advanced tools
search-script v0.0.1
npm install --save erehizm
eco.products()
/* if any no data Console Error:
Error: No Product ./<file_name>.json
if there is Data is shown
*/
eco.send("123",10)
/* MONEY INCREASE */
eco.back("123",10)
/* MONEY Decrease */
n3.info("https://www.youtube.com/watch?v=1UwTI4PkI4g","REACTS") //n3.info('...',"Title") => K.E.F.Y.
SEARCH FUNCTİONS
SearchVideo = await scs.SearchVideo("<yt-search>")
getVideo = await scs.VideoGet("<yt-video-url>")
SpotifySearch = await scs.GetSpotify("<spotify-music-url>")
//Tested
const eco = new SearchScript.Economy({file:"./datas",shop:"ScriptShop"});
///ECONOMY
eco.products()
/* if any no data Error:
Error: No Product ./<file_name>.json
if there is Data is shown
*/
eco.send("123",10)
/* MONEY INCREASE */
eco.back("123",10)
/* MONEY Decrease */
///SEARCH
const scs = new SearchScript.Search({"Youtube":"YOUTUBE_APİ_KEY"});
await scs.SearchVideo("<Youtube-Search>") //SEARCH
await scs.VideoGet("<Youtube-Video-URL>") //VİDEO İNFOS
await scs.GetSpotify("<Spotify-url>") // spotify music url infos
//delete api
====> EXAMPLE
const SearchScript = require("search-script")
const Search = new SearchScript.Search({"Youtube":"You_Key"});
const eco = new SearchScript.Economy({file:"./datas",shop:"ScriptShop"});
const elements = {
search:"riv riv riv",
spotify:"https://open.spotify.com/track/5nTtCOCds6I0PHMNtqelas",
url:"https://www.youtube.com/watch?v=GIkKGW628aQ",
id:"GIkKGW628aQ"
}
async function Search() {
let SearchVideo = await SearchScript.SearchVideo(elements.search)
console.log(SearchVideo)
/*
{
id: { kind: 'youtube#video', videoId: 'zAhw6qRatzA' },
kind: 'youtube#searchResult',
publication: '2021-08-26T10:04:31Z',
channelId: 'Çakal - Topic',
channel: {
name: 'Çakal - Topic',
id: 'UC_gGiwBDPNM19olJODDP1Rw',
url: 'https://www.youtube.com/channel/UC_gGiwBDPNM19olJODDP1Rw'
},
url: 'https://www.youtube.com/watch/[object Object]',
title: 'Riv Riv Riv',
description: 'Provided to YouTube by Netd Müzik Video Dijital Platform A.Ş. Riv Riv Riv · cakal · cakal · Emirhan Çakal · Berk Erdemanar ...',
thumbnail: 'https://i.ytimg.com/vi/zAhw6qRatzA/0.jpg',
thumbnails: {
default: {
url: 'https://i.ytimg.com/vi/zAhw6qRatzA/default.jpg',
width: 120,
height: 90
},
medium: {
url: 'https://i.ytimg.com/vi/zAhw6qRatzA/mqdefault.jpg',
width: 320,
height: 180
},
high: {
url: 'https://i.ytimg.com/vi/zAhw6qRatzA/hqdefault.jpg',
width: 480,
height: 360
}
}
}
*/
let getVideo = await SearchScript.VideoGet(elements.url)
console.log(getVideo)
/*
{
id: 'GIkKGW628aQ',
kind: 'youtube#video',
publication: '2021-02-26T17:48:41Z',
channelId: 'Coolio - Topic',
channel: {
name: 'Coolio - Topic',
id: 'UC48nZNzBVu13HPwJ3upxQnQ',
url: 'https://www.youtube.com/channel/UC48nZNzBVu13HPwJ3upxQnQ'
},
url: 'https://www.youtube.com/watch/GIkKGW628aQ',
title: "Gangsta's Paradise",
description: 'Provided to YouTube by Tommy Boy Music, LLC\n' +
'\n' +
"Gangsta's Paradise · Coolio · L.V.\n" +
'\n' +
"Gangsta's Paradise\n" +
'\n' +
'℗ 1995 Tommy Boy Music, LLC\n' +
'\n' +
'Released on: 2020-09-25\n' +
'\n' +
'Producer: Doug Rasheed\n' +
'Composer: Stevie Wonder\n' +
'Composer Lyricist: Larry Sanders\n' +
'Composer Lyricist: Doug Rasheed\n' +
'Composer Lyricist: Artis Ivey Jr.\n' +
'\n' +
'Auto-generated by YouTube.',
thumbnail: 'https://i.ytimg.com/vi/GIkKGW628aQ/0.jpg',
thumbnails: {
default: {
url: 'https://i.ytimg.com/vi/GIkKGW628aQ/default.jpg',
width: 120,
height: 90
},
medium: {
url: 'https://i.ytimg.com/vi/GIkKGW628aQ/mqdefault.jpg',
width: 320,
height: 180
},
high: {
url: 'https://i.ytimg.com/vi/GIkKGW628aQ/hqdefault.jpg',
width: 480,
height: 360
},
standard: {
url: 'https://i.ytimg.com/vi/GIkKGW628aQ/sddefault.jpg',
width: 640,
height: 480
},
maxres: {
url: 'https://i.ytimg.com/vi/GIkKGW628aQ/maxresdefault.jpg',
width: 1280,
height: 720
}
},
hashtag: [ 'Coolio', 'L.V.', "Gangsta's Paradise" ]
}
*/
let SpotifySearch = await SearchScript.GetSpotify(elements.spotify)
console.log(SpotifySearch)
/*
{
name: 'Immaterial',
type: 'track',
uri: 'spotify:track:6GoLARmR2OZl2EldehFrsA',
id: '6GoLARmR2OZl2EldehFrsA',
dominantColor: '#785870',
popularity: 57,
track_number: 8,
disc_number: 1,
duration_ms: 232806,
external_ids: { isrc: 'AUFF01800039' },
external_urls: { spotify: 'https://open.spotify.com/track/6GoLARmR2OZl2EldehFrsA' },
Playlist: {
name: 'SOPHIE',
url: 'https://open.spotify.com/album/6ukR0pBrFXIXdQgLWAhK7J',
author: "OIL OF EVERY PEARL'S UN-INSIDES",
type: 'album',
uri: 'spotify:album:6ukR0pBrFXIXdQgLWAhK7J',
id: '5a2w2tgpLwv26BYJf2qYwu'
}
}
*/
}
function Economy() {
let a = eco.products()
console.log(a)
/* if any no data Error:
Error: No Product ./<file_name>.json
if there is Data is shown
*/
eco.send("123",10)
/* MONEY INCREASE */
eco.back("123",10)
/* MONEY Decrease */
}
Search()
Economy()
FAQs
Economy System, Chat System and more (Under Development..)
The npm package search-script receives a total of 0 weekly downloads. As such, search-script popularity was classified as not popular.
We found that search-script demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.