Try 'eosjs'.
It is official javascript eos rpc library.
repository has simple example.
https://github.com/EOSIO/eosjs
modify defaultPrivateKey = "shlee_private_key",
and parameter1 ~ parameter3 to correct parameter name
and http://127.0.0.1:8000 to your node api endpoint
const { Api, JsonRpc, RpcError, JsSignatureProvider } = require('eosjs');
const fetch = require('node-fetch'); // node only; not needed in browsers
const { TextDecoder, TextEncoder } = require('text-encoding'); // node, IE11 and IE Edge Browsers
const defaultPrivateKey = "5JtUScZK2XEp3g9gh7F8bwtPTRAkASmNrrftmx4AxDKD5K4zDnr"; // useraaaaaaaa
const signatureProvider = new JsSignatureProvider([defaultPrivateKey]);
const rpc = new JsonRpc('http://127.0.0.1:8000', { fetch });
(async () => {
const result = await api.transact({
actions: [{
account: 'shlee',
name: 'create',
authorization: [{
actor: 'shlee',
permission: 'active',
}],
data: {
parameter1_name: 'shlee',
parameter2_name: 2,
parameter3_name: "feed dog",
},
}]
}, {
blocksBehind: 3,
expireSeconds: 30,
});
console.dir(result);
})();