Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import { Func } from '@faasjs/func';
import { Http } from '@faasjs/http';
const http = new Http();
export default new Func({
plugins: [http],
handler () {
return 'a';
}
});
import { Func } from '@faasjs/func';
import { Http } from '@faasjs/http';
const http = new Http();
export default new Func({
plugins: [http],
handler () {
return 'hello';
}
});