How to transfer own tokens?

I created a smart contract with 1 billion tokens, how do I transfer the tokens I created to another wallet via nodejs?

you can use ethers or web3 directly, you will need a RPC node url and a private key, you will find examples on this forum