{"id":25471,"library":"esfive","title":"ESFive","description":"ESFive is a minimal ES5-to-ES3 transpiler, version 0.1.1, last updated in 2012. It converts ECMAScript 5 constructs (like Object.create, Array.isArray, property descriptors, strict mode) into ES3-compatible code. Release cadence is unknown and appears dormant. Key differentiator: very early attempt at ES5-to-ES3 transpilation, now obsolete due to modern transpilers like Babel.","status":"deprecated","version":"0.1.1","language":"javascript","source_language":"en","source_url":"https://github.com/asmblah/esfive","tags":["javascript","es5","transpiler"],"install":[{"cmd":"npm install esfive","lang":"bash","label":"npm"},{"cmd":"yarn add esfive","lang":"bash","label":"yarn"},{"cmd":"pnpm add esfive","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"No ES6 module support; CommonJS only.","wrong":"import esfive from 'esfive';","symbol":"default","correct":"var esfive = require('esfive');"},{"note":"Main API function; accepts ES5 source string, returns object with 'code' property.","wrong":"esfive.compile() with wrong arguments","symbol":"compile","correct":"var result = esfive.compile('...');"},{"note":"Reads file and transpiles; callback not supported.","wrong":"esfive.compileFile with non-string path","symbol":"compileFile","correct":"var result = esfive.compileFile('file.js');"}],"quickstart":{"code":"var esfive = require('esfive');\nvar input = 'Object.defineProperty(o, \"p\", {value: 1});';\nvar output = esfive.compile(input);\nconsole.log(output.code);","lang":"javascript","description":"Transpile a simple ES5 property definition to ES3."},"warnings":[{"fix":"Use Babel or another modern transpiler.","message":"This package is unmaintained since 2012 and not recommended for new projects.","severity":"deprecated","affected_versions":"all"},{"fix":"Check the source for supported features.","message":"Does not convert all ES5 features (e.g., getters/setters, ES6).","severity":"gotcha","affected_versions":"all"},{"fix":"Review output for correctness.","message":"Compiled output may not fully preserve semantics of ES5 strict mode.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run 'npm install esfive'.","cause":"Package not installed or missing.","error":"Cannot find module 'esfive'"},{"fix":"Use an ES5 shim or ensure ES5+ runtime.","cause":"Output not run in an ES5 environment; requires polyfill.","error":"Object.defineProperty is not a function"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}